From: David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
Subject: Re: [xsl] converting xsl-wd to xsl1, msxml script changes
Example
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="http://mycompany.com/mynamespace"
version="1.0">
<msxsl:script language="JScript" implements-prefix="user">
function xml(nodelist) {
return nodelist.nextNode().xml;
}
</msxsl:script>
<xsl:template match="/">
<xsl:value-of select="user:xml(.)"/>
</xsl:template>
</xsl:stylesheet>
That is it, thanks very much! I don't know how I missed that one (as now you
mention it I can find it easily. probably as I spent most of my time in the
V4 docs..
anyway, it was the nextNode() bit I needed
Woody
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list