Justudo has asked for the wisdom of the Perl Monks concerning the following question:
Is it possible to add in case insensitive searches like this ?//userprop[nameprop="Version" and contains(valueprop,"v1.1")]
Sample data ://userprop[nameprop="Version" and contains(lc(valueprop),lc("v1.1"))]
<userprop> <nameprop>Version</nameprop> <valueprop>v1.1</valueprop> </userprop> <userprop> <nameprop>Version</nameprop> <valueprop>V1.1</valueprop> </userprop> <userprop> <nameprop>Subject</nameprop> <valueprop>Not applicable</valueprop> </userprop>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Case insensitivity using Xpath and libXML
by derby (Abbot) on May 14, 2004 at 12:05 UTC | |
|
Re: Case insensitivity using Xpath and libXML
by dakkar (Hermit) on May 14, 2004 at 13:27 UTC |