Marc,
> Here is the missing attached document.
This is due to the way XPath works. In this expression:
instance('listes-simple')/liste[@id=instance('instance')/choix[position()]/@value]/item
a new context is created once you use "[...]", so position applies to
the position within that context, which is by default 1.
Maybe you can try something like this (XPath 2.0):
for $position in position() return
instance('listes-simple')/liste[@id=instance('instance')/choix[$position]/@value]/item
-Erik
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/--
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
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws