Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


looking up case insensitive element in XML with XPath

From: Wizfrog <googleaccount@-------.--->
To: NULL
Date: 12/2/2007 7:26:00 PM
Hello,

I want to do something simple I guess, but hit a problem:

I want to look up an element by name, using XPath, but I want my input
string to be case insensitive.

For example: I'm looking up ThisWord, but if the user inputs
"thisword" I want to be able to find the element.
This is a to avoid doublons (in a case insensitive manner)

XML is case sensitive, so "thisword" and "ThisWord" will show as
different.

So, is there an "easy" way to find all case-sensitive variations of a
word in a document? without having to look up all variations
independently?

How would you do a "search" function for example, if there is no case
insensitive way to look up text nodes?



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent