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] case insensitive attributes


Subject: [xsl] case insensitive attributes
From: "Jay Gardner" <jgardner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 5 Apr 2001 10:44:15 -0500

This one should be pretty simple for most of you, but I just can't seem
to get it right.

I need to set up an XPath query that is not case sensitive to find the
node with the
UserId attribute set to some value.

XML:

<?xml version="1.0" encoding="UTF-8" ?> 
<root xmlns:sql="urn:schemas-microsoft-com:xml-sql"> 
	<CamUsers UserId="admin" /> 
</root>

Current XPath (not working)

root/CamUsers[translate(@UserId,'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
'abcdefghijklmnopqrstuvwxyz') = 'ADMIN']


Any help would be much appreciated.

Jay


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



Current Thread
Keywords
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