W
Wizfrog
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?
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?