Subject: [xsl] Re: How do you convert a string to a node-set? From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Tue, 26 Mar 2002 00:24:24 -0800 (PST) |
> How do you convert a string to a node-set? Is it possible with MSXSL3? > This doesn't do the trick: > <xsl:variable name="var" > select="msxsl:node-set('<a>3</a><b>4</b>')"/> The vendor:node-set() function does something different -- it takes an RTF and converts it to a node-set. What you want must be done outside of the transformation -- either prior to it, or within an extension function. For example, you can use the loadXML() method for this purpose, then pass (or return back) the resulting XMLDOM object to the transformation. Cheers, Dimitre Novatchev. __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] nice displaying of XML via XS, Sébastien Tisserant | Thread | RE: [xsl] time from server to docum, Jarno . Elovirta |
[xsl] nice displaying of XML via XS, Sébastien Tisserant | Date | Re: [xsl] Problems with usage of ce, David Carlisle |
Month |