[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: XSL-List Digest V4 #1080
From: "woody" <woody@xxxxxxxxxxxxxx>
Date: Fri, 14 Feb 2003 17:29:03 -0000
> 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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member