Thanks, Emile.
I still can't get it to work as needed, but I've come up with a workaround.
I will post-process with a second stylesheet that just renumbers the
elements.
John
----- Original Message -----
From: "Emiliano" <emile@xxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, December 17, 2001 9:39 AM
Subject: Re: recursive output numbering
> John D. West wrote:
>
> > I tried <xsl:number> in the inner template, it resets to 1 whenever the
> > outer templates iterate. Am I doing something wrong?
>
> What I've done is make the select clause absolute (starting at the root)
> instead of from the current node.
>
> Emile
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|