[jdom-interest] XPATH question

Jason Hunter jhunter at acm.org
Thu May 22 12:42:12 PDT 2003


> I have a XML document in which I need to search for presence of certain keywords 
> in certain tags. For example, here is a small snippet of the XML doc:
> 
>  <document id="20" type="INTERNAL" relevance="QA">
>   <title>QA Doc</title>
>   <author>Jason Hunter</author>

OK, now that's just freaking me out.  :-)

> Now, the user may want to search for the presence of a keyword in title, author, 
> keywords and summary. I am using XPATH to do this search, using the contains() 
> function of XPATH. But the problem is, this search is case sensitive. Is there a 
> equivalent function for case insensitive search also? What will be the best 
> approach for doing this?

Google says:

http://lists.w3.org/Archives/Public/www-xml-linking-comments/2000OctDec/0053.html

-jh-





More information about the jdom-interest mailing list