xsl-list
[Top] [All Lists]

using an attribute's value as input for value-of?

2005-02-22 08:08:10
I would like to use the value of an attribute which contains an
Expression as the input for an value-of.  Like this:


input xml
...
<elt attr=".//elta|.//eltb"/>
...


xsl stylesheet
...
<xsl:value-of select="@attr"/>
...

In this case, I know, the actual output will be ".//elta|.//eltb". 
How must I proceed to get the expression evaluated, and the resulting
value be output instead?



cheers,
-- 
Jakob.

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