<xsl:number level="multiple" count="section" format="1.1"/>
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> alexandre bord
> Sent: 10 July 2002 11:49
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Numbering
>
>
> Hello !
> Suppose i have an XML file like this :
> <section level="1" title="foo">
> <section level="2" title="bar">
> <section level="3" title="foobar">
> </section>
> </section>
> </section>
>
> How can i number each section title ? :
> 1. Foo
> ...
> 1.1 Bar
> ...
> 1.1.1 Foobar
> ...
> 2.
>
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|