xsl-list
[Top] [All Lists]

Using a variable in XSLT

2003-09-02 08:40:57
This may be an evergreeen question.
I would like to define a variable such that I can parametrize a selection.
The obvious would be:

<xsl:variable name="SystemSelected" select='"sys:one"' />
<xsl:template match="xs:documentation[lang('de')]/$SystemSelected">

However xsl:variable is a node set and not a string that can be used to concatenate within a match.
How can I handle this situation?
Regards to the helpful community.
TMS



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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