xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor