xsl-list
[Top] [All Lists]

RE: xpath predicate help

2005-02-17 15:23:06
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 was off his usual form there. The select attribute of xsl:value-of
is an XPath expression, not an AVT - it therefore never uses curly braces.

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>
--~--



<Prev in Thread] Current Thread [Next in Thread>