Subject: [xsl] how to evaluate a dyna generated variable? From: Cao Hui <caohuicn@xxxxxxxxxxxx> Date: Mon, 8 Sep 2003 16:35:07 +0800 (CST) |
Hello, 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? Thanks Max Cao _________________________________________________________ Do You Yahoo!? 启用电邮帐号,领会雅虎通[身临其境聊电影]的动感魅力,还有网络摄像头+雅虎通收音机等你来拿 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] how to extrac some child , Michael Kay | Thread | RE: [xsl] how to evaluate a dyna ge, Michael Kay |
RE: [xsl] Loss of white space, David . Pawson | Date | Re: [xsl] how to extrac some child , Dionisio Ruiz de Zar |
Month |