[xsl] Is it illegal to use a Variable name in a key?

Subject: [xsl] Is it illegal to use a Variable name in a key?
From: "Talwalkar (EXT), Saurabh" <saurabh.talwalkar-eds@xxxxxxx>
Date: Fri, 30 May 2003 18:51:04 +0530
I need help on using xsl:key
I have a strange behaviour with XSL:KEY. 
The following key creates a problem with Websphere 4.0.3 but works fine in Weblogic and Tomcat.

<xsl:variable name="asRevRevRelation" select="'AsRevRev'"/>
<xsl:key name="asRevRevRelations"
         match="/ObjectSetRoot/Object[@Class=$asRevRevRelation]"
         use="child::DBE:Attribute[@name='Left']/*"/>

ON removing the $asRevRevRelation variable reference, the key works fine.



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


Current Thread