Subject: Re: [xsl] [string to node] From: David Carlisle <davidc@xxxxxxxxx> Date: Sun, 21 Feb 2010 23:00:25 +0000
On 21/02/2010 22:52, ac wrote:
$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.