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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--