[Xsltforms-support] id in repeat
Brought to you by:
alain-couthures
From: Christopher D. <cd...@vi...> - 2010-03-20 09:08:31
|
I have two nested repeats and I need to get the current index of the inner repeat using the index() function. Here is an example: <xf:repeat id="outerRepeat" nodeset="outer"> <xf:repeat id="innerRepeat" nodeset="inner"> ... </xf:repeat> </xf:repeat> The index() function works well so long as there is only element in the "outer" nodeset. However, if there is more than one element in the outer nodeset, the index() function gives incorrect results. Chris |