Hi,
JFYI: In the following scenario, the result of MSXML .NET
differs from the results of Saxon, Xalan and Libxslt/Libxml2.
<?xml version='1.0'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:value-of select="count(//foo[name() = 'foo'][1])"/>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0"?>
<foo>
<foo>
<foo/>
<foo/>
<foo/>
</foo>
</foo>
Result of MSXML .NET:
<?xml version='1.0' encoding='utf-8' ?>
1
All the other processors return "3".
However, MSXML .NET returns "3", if we change the expression to
"count(//foo[1][1])".
Regards,
Kasimier
--~------------------------------------------------------------------
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>
--~--