Hi All,
ned help on the example below. It works fine for msxml3/4 but has
problems with saxon. Saxon complains "can not find matching function
..... "
My target is to write style sheets usable for msxml3 , msxml4 , saxon
..
Is there a general solution ?
Any help is highly welcome.
Rolf
<xsl:styleshe et version="2.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="ur n:schemas-microsoft-com:xslt">
<xsl:output method="xml" encoding="UTF-8" />
<xsl:variable name="gMyNodes" >
<MyNodes>
<a/>
<b/>
</MyNodes>
</xsl:variable>
<xsl:template match="/">
<xsl:variable name="vMyNodeSe t">
<xsl:choose>
<xsl:when test="function-available('msxs l:node-set')">
<xsl:copy-of select="msxsl:n ode-set($gMyNodes)"/>
</xsl:when>
<xsl:otherwis e>
<xsl:copy-of select="$gMyNod es"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:copy-of select="$vMyNod eSet"/>
</xsl:template>
</xsl:stylesheet>