[xsl] Using a variable in XSLT

Subject: [xsl] Using a variable in XSLT
From: Tim Müller-Seydlitz <tms@xxxxxxxxxxxxxxxxxx>
Date: Tue, 02 Sep 2003 17:40:57 +0200
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


Current Thread