In message <[EMAIL PROTECTED]>, Paul Brown
<[EMAIL PROTECTED]> writes
>>>Also is there any XPath that allows you to carry out phrase searching,
>
>>>or word searches?
>
>>You have the contains() and starts-with() functions.
>
>Is there a way to make contains() case insensitive?

It's not pretty, and I'm sure it wouldn't be efficient in a searching
context, but there is the translate() function:

        ... contains(translate(text(), 'abcdefghijklmnopqrstuvwxyz',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'), 'SEARCHSTRING') ...

Richard Light
-- 
Richard Light
SGML/XML and Museum Information Consultancy
[EMAIL PROTECTED]

Reply via email to