|
Subject: RE: [xsl] xpath predicate help From: cknell@xxxxxxxxxx Date: Thu, 17 Feb 2005 14:42:29 -0500 |
It doesn't work because you are not yet familiar with the attribute value template (avt). Add curly braces like this:
<xsl:value-of select="{$link-target}"/>
That's how you get the evluation of a variable in an attribute value.
--
Charles Knell
cknell@xxxxxxxxxx - email
-----Original Message-----
From: McKinstry, Scott A <scott.a.mckinstry@xxxxxxxx>
Sent: Thu, 17 Feb 2005 13:47:45 -0500
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] xpath predicate help
I am transforming SGML to XML.
The sample sgml is:
<graphic id="123" name="graphic" ......>
<grphprim id="456" ....>
</graphic>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] xpath predicate help, David Carlisle | Thread | RE: [xsl] xpath predicate help, Michael Kay |
| Re: [xsl] Javascript variable to XS, Camaleón | Date | Re: [xsl] keyed lookup table, Kevin Rodgers |
| Month |