[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
hi i have a problem
i have two for-each loops.. as following
the problem is that when i use position() in the second for-each loop, it allways gives the position of the first for-each..
is there a way that i get to the position of the second for-each loop??
Many Thanks
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] POSITION()
Subject: [xsl] POSITION() From: "Kim Durand" <vsd18@xxxxxxxxxxxxxx> Date: 5 Mar 2002 10:23:31 -0000 |
hi i have a problem
i have two for-each loops.. as following
<xsl:for-each select = "//root/parent"> <xsl:variable name = "parentvar1" select = "/parent1"/> <xsl:variable name = "parentvar2" select = "/parent2"/> <xsl:variable name = "parentvar3" select = "/parent3"/> <xsl:variable name = "parentvar4" select = "/parent4"/> <xsl:for-each select = "./children"> <xsl:variable name = "childvar1" select = "/parent1"/> <xsl:variable name = "childvar2" select = "/parent2"/> <xsl:variable name = "childvar3" select = "/parent3"/> <xsl:variable name = "childvar4" select = "/parent4"/> </xsl:for-each> </xsl:for-each>
the problem is that when i use position() in the second for-each loop, it allways gives the position of the first for-each..
is there a way that i get to the position of the second for-each loop??
Many Thanks
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Problems with usage of XP, John Escott | Thread | Re: [xsl] POSITION(), Matt Gushee |
Re: [xsl] prining png file in FO, Rob Smith | Date | RE: [xsl] rounding numbers up or do, stevenson |
Month |