This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: recursive output numbering
- From: "John D. West" <JWest at SilverheelsSoftware dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 17 Dec 2001 10:27:57 -0700
- Subject: Re: [xsl] recursive output numbering
- Organization: Silverheels Software, Inc.
- References: <Pine.LNX.4.40.0112171738220.20568-100000@taxus.intern.iris-advies.nl>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@iris-advies.nl>
To: <xsl-list@lists.mulberrytech.com>
Sent: Monday, December 17, 2001 9:39 AM
Subject: Re: [xsl] 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