Re: [xsl] position() function in loop provides only 1

Subject: Re: [xsl] position() function in loop provides only 1
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 11 Apr 2012 13:01:59 +0100
> I use the positon() funciton to build a counter.
> I use it in a for-each loop under another for-each. The result is but ever 1.

Some tips:

- use apply-templates instead of for-each

- if you want to number something, use xsl:number instead of position()




-- 
Andrew Welch
http://andrewjwelch.com

Current Thread