This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
case insensitive attributes
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] case insensitive attributes
- From: "Jay Gardner" <jgardner at medicalcontracting dot com>
- Date: Thu, 5 Apr 2001 10:44:15 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
- Thread-Index: AcC950TPufAxLVXlQ/ux29C9hSQipQ==
- Thread-Topic: case insensitive attributes
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