XPath 2.0 has a deep-equal() function which might help:
http://www.w3.org/TR/xpath-functions/#func-deep-equal-Erik
On Apr 24, 2009, at 7:51 AM, Srikanth A wrote:
> Hello All,
>
> Im trying to show a trigger using xforms:bind relevant condition but
> the condition should compare whole instance
> Example
> <xforms:instance id=”compare”>
>
> <compare>3</compare>
> </xforms:instance >
>
> <xforms:instance id=”ids”>
> <ids>
> <id>1</id>
> <id>2</id>
> <id>3</id>
> </ids>
> </xforms:instance>
>
>
> If I use this condition in relevant instance(‘compare’)
> =instance(‘ids’)/id but this will compare only the first element but
> I want to compare whole instance
> How can I show a trigger by comparing the above two instances.
>
> Thanks,
>
> Srikanth A
>
> --
> You receive this message as a subscriber of the
[hidden email]
> mailing list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws