Project

Profile

Help

Bug #2138 » test.xsl

Evan Lenz, 2014-09-02 22:41

 
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs">

<xsl:template match="/">
<xsl:for-each select="foo/bar[3]">
<xsl:number count="bar[@type eq current()/@type]" level="any"/>
</xsl:for-each>
</xsl:template>

</xsl:stylesheet>

(2-2/3)