Subject: [xsl] Numbering: position() ? From: Sven Waibel <sven.waibel@xxxxxxxx> Date: Wed, 10 Jan 2007 11:40:33 +0100 |
Hi, i got following xml: <book id="1"> <page> <special> <page> <page> </special> <page> <page> </book> xslt: <xsl:template match="page"> <xsl:value-of select="concat(concat(ancestor::book/$id, '.'), position())"/> </xsl:template> I got this numbering: 1.1 1.1 1.2 1.3 1.4 How can i achieve that the numbering is correct? Thanks Sven
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] opinion re flexible style, Michael Kay | Thread | RE: [xsl] Numbering: position() ?, Michael Kay |
Re: [xsl] text indent problem, Barbara Lackenbauer | Date | RE: [xsl] Numbering: position() ?, Michael Kay |
Month |