hello,
My process starts in flow, where I pass an XML document to a JX file,
where I have a first forEach loop ()
<jx:forEach select="#{/document/membership/rooms/room}"> This works fine.
But now I need to imbricate another forEach
<jx:forEach begin="1" end="#{./desc/@maxoc}" step="1">
This works when I put an integer in the end attribute, but I need it's value
to come from the context of the first forEach #{./desc/@maxoc} but this
doesn't seem to work, nor does it find the /document/.... context???
I tried setting the items and var attribute but no result??
</jx:forEach>
</jx:forEach>
my XML doc:
<rooms>
<room><desc maxoc="12">text0</desc></room>
<room><desc maxoc="5"/>text1</desc></room>
<room><desc maxoc="6"/>text2</desc></room>
<room><desc maxoc="9"/>text3</desc></room>
</rooms>
Probably something I am missing, thanks
for the help
T.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]