Eric,
Please check out

http://wiki.apache.org/xindice/XindiceFAQ/AttributeValue

The basic problem is you have to enclose the whole xpath in double quotes and single quote any values when running from the windows command line.

So change your command line query to: "//[EMAIL PROTECTED]'eric']"

Regards,
Dan
Eric Zhang wrote:

XPath query on the string value of element/attribute works in java
application connected to the xindice, but not from command line

XML
<book>
<chapter name="eric"/>
<chapter>test</chapter>
</book>

XPath Query
//[EMAIL PROTECTED]"eric"]

Works from a java app, but failed to find the doc from xindice's command
line tool.




Reply via email to