[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Is there a way to set the value of the attribute fro ma variable ?
for example:
I am trying it and it's not working. When I remove the variable $var and specify a value, it works fine.
I tried using {$var}. Nothing worked.
Any ideas ?
[xsl] variable attribute value
Subject: [xsl] variable attribute value From: Mansour <mansour77@xxxxxxxxx> Date: Sat, 29 Mar 2008 17:55:46 -0300 |
Is there a way to set the value of the attribute fro ma variable ?
for example:
<xsl:variable name="var" select="@name" /> <xsl:apply-template select="someTag[@attr='$var'] />
I am trying it and it's not working. When I remove the variable $var and specify a value, it works fine.
I tried using {$var}. Nothing worked.
Any ideas ?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Saxon processing problem., Michael Kay | Thread | Re: [xsl] variable attribute value, G. Ken Holman |
Re: [xsl] Saxon processing problem., Eliot Kimber | Date | Re: [xsl] variable attribute value, G. Ken Holman |
Month |