Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - using XSL variable [Thread Next] Re: using XSL variableTo: NULL Date: 9/1/2005 3:35:00 PM Hi,
Tempore 16:54:12, die Thursday 01 September 2005 AD, hinc in foro {microsoft.public.xsl} scripsit BosXSL <thechait@g...>:
> The problem is I'm trying to append a variable $xmltag. It doesn't
> interpret as I want. I have tried my ways using +, quote, [].
> <xsl:copy-of select="content[1]/$xmltag"/>
What you're tryig to do is building an XPath expression dynamically; this is not possible.
possible workaround:
<xsl:copy-of select="content[1]/*[name()=$xmltag]"/>
regards,
--
Joris Gillis (http://users.telenet.be/root-jg/me.html)
«There are only 10 types of people in this world.
Those who understand binary, and those who don't»
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
