J.Pietschmann wrote:
There are two possibilities:
1. Use <xsl:strip-space elements="*"/>, or whatever suits you.
2. Use <xsl:apply-templates select="*"/> or something similar at
the necessary places, which will apply templates to element nodes only
and ignore all text nodes.
And a third: use <xsl:number /> inside your match, like this (puts '1'
to the result tree, while position() would put '2'):
<xsl:template match="b">
<xsl:variable name="nr"><xsl:number /></xsl:variable>
<xsl:value-of select="$nr"/>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]