|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL-List Digest V4 #1080
> From: David Carlisle <davidc@xxxxxxxxx>
> Subject: Re: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








