Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] predicate inside a for-each


Subject: Re: [xsl] 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
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor