Re: [xsl] Syntax Problem

Subject: Re: [xsl] Syntax Problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 18 Mar 2003 12:39:36 GMT
<xsl:copy-of select="document($v_file)//$v_Tag"/>

That syntax is correct so long as $v_Tag contains a node set but it is
the same as

<xsl:copy-of select="$v_Tag"/>

and would just copy the node set in the variable,

If $v_Tag contains a string then it is not correct as it would be the
same as


<xsl:copy-of select="document($v_file)//'abc'"/>

which would not be valid XPath.

David




________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread