Re: [xslt] xsl:number level="multiple"
- From: John Fleck <jfleck inkstain net>
- To: xslt gnome org
- Subject: Re: [xslt] xsl:number level="multiple"
- Date: Thu, 19 Jul 2001 07:12:41 -0600
On Wed, Jul 18, 2001 at 11:12:03PM +0100, Sebastian Rahtz wrote:
> consider
>
> <a>
> <a>
> <a></a>
> <a></a>
> </a>
> <a></a>
> </a>
>
> processed by
>
> <xsl:template match="a">
> <xsl:number level="multiple" format="1" />
> <xsl:apply-templates/>
> </xsl:template>
>
> The libxslt output is 1 11 111 112 12, which is surely not right?
>
I have no idea if this is the Right Way(tm), but this works:
***************
<xsl:template match="a">
<xsl:number level="multiple" format="1.1.1" />
<xsl:apply-templates/>
</xsl:template>
**************
Cheers,
--
John Fleck
jfleck@inkstain.net (h), http://www.inkstain.net/fleck/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]