XSLT does not define any case-mapping functions. translate works only if you know which characters you can find in the string (for the same reasons that in Perl tr{A-Z}{a-z} will not lowercase a string correctly)
You could write an extension function in Perl, register it in libxmls's xpath context, and use it. There should be a test in the XML::LibXML distribution defining extension functions.
--
dakkar - Mobilis in mobile
Most of my code is tested...
In reply to Re: Case insensitivity using Xpath and libXML
by dakkar
in thread Case insensitivity using Xpath and libXML
by Justudo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |