xsl-list
[Top] [All Lists]

Re: predicate inside a for-each

2006-01-01 08:57:13
<xsl:for-each select="../../body/field[position() mod count(../../head/row) = ROWPOSITION]">

I just realized, it has to be select="../../body/field[position() -1 mod count(../../head/row) = ROWPOSITION - 1]"
Does not really matter though.. ;)

Ben


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>