<xsl:param name="username"/>
<!-- .... -->
<xsl:template match="btr:attribute">
<xsl:attribute name="{(_at_)as}"><xsl:value-of
select="${(_at_)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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--