Subject: Re: [xsl] Using variables in xpath attribute matches From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Thu, 21 Aug 2008 19:12:26 +0200 |
<xsl:template name="get_attribute"> <xsl:param name="attribute"/> <xsl:value-of select="@<<FIXME>>"/> </xsl:template>
I would like to use the value of the attribute parameter passed into
this template as the attribute match expression in the inner most
select.
All you can do is <xsl:value-of select="@*[local-name() = $attribute]"/>
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Using variables in xpath attr, Matt Lee | Thread | Re: [xsl] Using variables in xpath , Andrew Welch |
[xsl] Using variables in xpath attr, Matt Lee | Date | Re: [xsl] Using variables in xpath , Darcy Parker |
Month |