Subject: Re: [xsl] Numbering From: Lawrence Mielniczuk <lwm@xxxxxxxxxxxxxxx> Date: Wed, 10 Jul 2002 12:42:38 +0100 (GMT Daylight Time) |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Numbering, Jeni Tennison | Thread | RE: [xsl] Numbering, Michael Kay |
Re: [xsl] Numbering, Jeni Tennison | Date | Re: [xsl] Converting Strict XHTML +, patrick andries |
Month |