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(_at_)onebox(_dot_)com - email
-----Original Message-----
From: McKinstry, Scott A <scott(_dot_)a(_dot_)mckinstry(_at_)lmco(_dot_)com>
Sent: Thu, 17 Feb 2005 13:47:45 -0500
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] xpath predicate help
I am transforming SGML to XML.
The sample sgml is:
<graphic id="123" name="graphic" ......>
<grphprim id="456" ....>
</graphic>
--~------------------------------------------------------------------
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>
--~--