Subject: Re: [xsl] position|
From: Thomas Rasmussen <tbr77@xxxxxxxxxxxx>
Date: Sat, 14 Feb 2004 16:17:34 +0100
At 2004-02-14 14:02 +0100, m.vanrootseler@xxxxxxxxx wrote:I was about to suggest using <xsl:number> too, so I made a small example, but the first note is not treated as I would expect it to be?
The facility to count items in the source node tree is <xsl:number>:
<xsl:number count="note" level="any"/>
just like I did in the root template (where it works as it should),
"it works" because of how you prepared your current node list. It is also working in your other match, but you haven't prepared the current node list accordingly, so you cannot use position() because it is based solely on the current node list.
I hope this helps.
|<- Previous||Index||Next ->|
|RE: [xsl] position, m . vanrootseler||Thread||Re: [xsl] position, G. Ken Holman|
|RE: [xsl] position, G. Ken Holman||Date||RE: [xsl] position, m . vanrootseler|