[jdom-interest] XPATH question

Sanjeev Verma [CONTRACTOR] sanjeev.verma at Sun.Com
Thu May 22 13:12:25 PDT 2003


Hey Jason!

That was just to get your attention! All in good spirit though....

And thanx for the link.

Best Regards

Sanjeev

>Delivered-To: jdom-interest at dorothy.denveronline.net
>From: Jason Hunter <jhunter at acm.org>
>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) 
Gecko/20030425
>X-Accept-Language: en-us, en
>MIME-Version: 1.0
>To: "Sanjeev Verma [CONTRACTOR]" <sanjeev.verma at sun.com>
>Cc: jdom-interest at jdom.org
>Subject: Re: [jdom-interest] XPATH question
>Content-Transfer-Encoding: 7bit
>X-BeenThere: jdom-interest at jdom.org
>X-Mailman-Version: 2.0.1
>List-Help: <mailto:jdom-interest-request at jdom.org?subject=help>
>List-Post: <mailto:jdom-interest at jdom.org>
>List-Subscribe: <http://lists.denveronline.net/mailman/listinfo/jdom-interest>, 
<mailto:jdom-interest-request at jdom.org?subject=subscribe>
>List-Id: JDOM Mailing List for General Issues and Updates 
<jdom-interest.jdom.org>
>List-Unsubscribe: 
<http://lists.denveronline.net/mailman/listinfo/jdom-interest>, 
<mailto:jdom-interest-request at jdom.org?subject=unsubscribe>
>List-Archive: <http://lists.denveronline.net/pipermail/jdom-interest/>
>Date: Thu, 22 May 2003 12:42:12 -0700
>
>> 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.ht
ml
>
>-jh-
>
>
>_______________________________________________
>To control your jdom-interest membership:
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.c
om

Best Regards

Sanjeev Verma
Sun ONE App Server Migration Consultant
Web Services, Tools and Migration Tools
Market Development Engineering




More information about the jdom-interest mailing list