You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Nestel, Frank" <fr...@coi.de> on 2001/03/29 18:31:50 UTC
Xalan 1 late problem
Hi,
I'm currently boud to Xalan 1 in a certain context, and I'd
like to know if this is a know issue:
In an XML like
<DOC>
<A>
<B>a</B>
</A>
<A>
<B>b</B>
</A>
</DOC>
and as XSLT like
<xsl:apply-templates select="/DOC/A/B">
<xsl:template match="B">
<xsl:value-of select="position()"/>
</xsl:template>
I get an answer like
11
and expected
12
since I thought position() counts in the current node list
Any hints?
Frank