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


> Use xsl:number with level="multiple":
> 
> <xsl:template match="section">
>   <xsl:number level="multiple" />
>   <xsl:text> </xsl:text>
>   <xsl:value-of select="@title" />
> </xsl:template>
> 
> Cheers,
> 
> Jeni

This only outputs the first section title. Add
<xsl:apply-templates/> after
<xsl:value-of select="@title" />
to get them all.
---LwM---
-------------------------------------
Lawrence Mielniczuk
Systems and Electronic Resources Service
Logic School
Bodleian Library
Oxford OX1 3BG
Tel: (01865) 287174
Mobile: 0781 647 9176
-------------------------------------


 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]