This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Numbering
- From: Lawrence Mielniczuk <lwm at bodley dot ox dot ac dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Cc: xsl-list at lists dot mulberrytech dot com, alexandre bord <alexandre dot bord at steria dot com>
- Date: Wed, 10 Jul 2002 12:42:38 +0100 (GMT Daylight Time)
- Subject: Re: [xsl] Numbering
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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