Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

<xsl:number level="any" d...

Help
2012-01-13
2012-10-08
  • Why does this code print "1" under saxon 8.7 and "2" under 9.1.0.8?

        <xsl:variable name="basecount">
            <xsl:variable name="testanycounttmp"><x y="z"><x/></x></xsl:variable>
            <xsl:for-each select="$testanycounttmp/x/x">
                <xsl:variable name="anycount">
                    <xsl:number level="any" from="x[@y='z']" />
                </xsl:variable>
                <xsl:value-of select="$anycount" />
            </xsl:for-each>
        </xsl:variable>
        <xsl:message select="$basecount"/>