From: kapil <kapil@xxxxxxxxxxxxxxxxxxx> Date: Wed, 17 Jan 2001 12:13:08 +0530 |
i want numbering in reports means serial no in table <xsl:template match="*"> <xsl:value-of select="count(preceding::* | ancestor::*) + 1" /> <xsl:text>. </xsl:text> <xsl:value-of select="name()" /> <xsl:apply-templates /> </xsl:template> but on report i got 1 3 5 7 with 0 and with <xsl:value-of select="count(preceding::* | ancestor::*) + 1 i got 2 4 6 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] appending values, Michael Kay | Thread | [xsl] Re:, Jeni Tennison |
[xsl] appending values, Krithiga Subramanian | Date | [xsl] variable comparison, kapil |
Month |