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

Re: [string to node]

Subject: Re: [string to node]
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 21 Feb 2010 23:00:25 +0000
Re:  [string to node]
On 21/02/2010 22:52, ac wrote:
Hi,

$a is a string as it is the result of <xsl:value-of select="//dd"/>


No. Firstly value-of doesn't return a string but a text node, and secondly $a isn't the result of the value-of it is constructed by an xsl:variable with content rather than a select attribute which means that it's a result tree fragment corresponding to a root node with a single child the text node generated by value-of.

David

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.