xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shilpa R. Kelkar" <skel...@trstone.com>
Subject Re: Document query on command line
Date Fri, 26 Sep 2003 18:06:09 GMT
I tried using single quotes. Does not work.
[@sku=""] retreives all the sku nodes

But value checking does not work.


At 01:53 PM 9/26/2003 -0400, you wrote:
>1)       ([@sku="101"]       is not a valid XPath
>
>2) If running from MSDOS command line, quoting is problematic.
>Try, for instance, using single quotes instead of double for literal 
>values (e.g. '101' instead of "101")
>and try enclosing the entire expression in double quotes (e.g. 
>"//*[@sku='101'] ").
>
>-Terry
>
>Shilpa R. Kelkar wrote:
>
>>Hello..
>>
>>I am using Xindice command line tool.
>>I tried the Xpath query on url 
>>http://www-106.ibm.com/developerworks/opensource/library/wa-xindice.html 
>>for querying a document ([@sku="101"].
>>
>>I followed all the steps given on the page. It does not give me any 
>>results but just returns to the prompt.
>>
>>Any help is appreciated.
>>Shilpa
>>
>



Mime
View raw message