[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: predicate inside a for-each
From: yaXay <yaXay@xxxxxxx>
Date: Sun, 01 Jan 2006 16:57:13 +0100
<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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member