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
|