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: Numbering


<xsl:number level="multiple" count="section" format="1.1"/>

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com 
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of 
> alexandre bord
> Sent: 10 July 2002 11:49
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] 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


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