This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Variable in XPath...
>
>
>>Ohh!? The $node_id variable contains a "string"
>>
>
>Not if it's defined by the definition you gave.
>You defined it by an Xpath that selected element nodes, so it contains a
>node set.
>
Ok David, I've understand the difference (that is very very short)
between the use I want to do of this variable and the real content of it!
So, I've probably obtained the right behaviour using this
<xsl:variable name="node_id"
select="string(document('config_doc.xml')/config/nodename)"/>
It's correct?
Thanks again.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list