"MATCH"means if you added the document to /db/qt , you should query in the
same collection, otherwise how can you find the document?
Here is the command you can try:
xindice xpath_query -c /db/qt -q "/[EMAIL PROTECTED]'120320']"




----- Original Message -----
From: "Zhitao Wang" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 30, 2002 4:39 PM
Subject: RE: XPATH help


I added the document to /db/qt by

xindice ad -c /db/qt -f prod.xml

and I list it and retrived it OK.

Can you be more specific for 'match'.

Thanks

-----Original Message-----
From: Colin Huang [mailto:[EMAIL PROTECTED]
Sent: 2002��4��30�� 15:41
To: [email protected]
Subject: Re: XPATH help


The collection you query does not match the collection you added the XML
file to.
xindice xpath_query -c /db/qt -q '/[EMAIL PROTECTED]"120320"]'




----- Original Message -----
From: "Zhitao Wang" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 30, 2002 4:27 PM
Subject: XPATH help



Hello

I am very new to Xpath. I just installed Xindice 1.0
on WinXP, and added the following to a collection
under /db called qt

<?xml version="1.0"?>
<product product_id="120320">
   <description>Glazed Ham</description>
</product>

Then I  used
xindice xpath_query -c /db/data/products -q
'/[EMAIL PROTECTED]"120320"]'

to query it.

I heard a beep and see the DEBUG sign in Xindice running window.

(I can start Xindice and I have no idea how to make it run in the
backgroud.
help needs on this too).

Thanks much

ZT




Reply via email to