xsl-list
[Top] [All Lists]

RE: Syntax Problem

2003-03-18 03:51:06
Hi, it´s the syntax not correct?

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

Remaining tokens: ( '$' 'v_Tag')

Well, it's not allowed in XPath. What do you want to achieve? if v_Tag is the 
name of the element to copy, then

  document($v_file)//*[name() = $v_Tag]

Cheers,

Jarno - Icon of Coil: Access and Amplify

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



<Prev in Thread] Current Thread [Next in Thread>