[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How do you convert a string to a node-set?

Subject: 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)
xmldom convert to string
> 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('&lt;a&gt;3&lt;/a&gt;&lt;b&gt;4&lt;/b&gt;')"/>

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.