If you like, apply these patches to org.apache.xindice.tools.XMLTools.java
and org.apache.xindice.tools.command.XPathQuery.java.

Then, use the following command to use namespaces with an xpath query:

xindice -c /db/mycollection -s "a=http://www.somedomain.com/schema1.xsd"; -q
"/a:foo"

Or type xindice -h for help.

Enjoy,

Vanessa

Attachment: XMLTools_patch.txt
Description: Binary data

Attachment: XPathQuery_patch.txt
Description: Binary data

Reply via email to