Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] XSLT variable eval >Thread Next - Re: [xsl] XSLT variable eval RE: [xsl] XSLT variable evalTo: Date: 12/1/2004 1:44:00 PM > <xsl:param name="username"/>
> <!-- .... -->
>
> <xsl:template match="btr:attribute">
> <xsl:attribute name="{@as}"><xsl:value-of
> select="${@name}"/></xsl:attribute>
> ^^^^^^
> - how eval this variable?
CHange the param to
<xsl:param name="params">
<username>....</username>
</xsl:params>
and evaluate it as $params/*[name()=current()@name]
Michael Kay
http://www.saxonica.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
