[xsl] how to evaluate a dyna generated variable?

Subject: [xsl] how to evaluate a dyna generated variable?
From: Cao Hui <caohuicn@xxxxxxxxxxxx>
Date: Mon, 8 Sep 2003 16:35:07 +0800 (CST)
  I have defined the I18n resources with variables like this:
<xsl:variable name="lang.type.participant.1" select="'Absolute Relation'"/>
<xsl:variable name="lang.type.participant.2" select="'Relative Relation'"/>
<xsl:variable name="lang.type.participant.3" select="'Group Expression'"/>

and in my stylesheet, I want to get the resource like this:
<xsl:value-of select="exsl:evaluate(concat('$lang.type.participant.',Type))">
but it seems exsl:evaluate only accept variables that contain XPath
reference,right? then is there any way to do this?

Max Cao

Do You Yahoo!? 

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

Current Thread