[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Syntax Problem


Subject: RE: [xsl] Syntax Problem
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 18 Mar 2003 12:51:06 +0200

> 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



Current Thread