This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recursive output numbering


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]