put quotation marks (") around the query string:
xindice xpath -c /db/addressbook -q "/person[fname='John']"
This prevents the Windows command line processor from treating the '/'
as an option delimiter, rather than a regular command line argument.
Jeff
----- Original Message -----
From: "Ivanovic Zoran" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 18, 2002 12:50 PM
Subject: Problem running the samples - XML:DB API as well as Xindice command
> I have installed (i believe successfully) Xindice, on
> my Windows NT 4.0 SP6 box.
>
> Command 'xindice lc -c /db' shows two collections,
> addressbook and system.
>
> Web sample applications is running correctly as well.
>
> When trying to run on my command prompt:
> xindice xpath -c /db/addressbook -q
> /person[fname='John']
> nothing happend, it didn't find the requested nodes.
>
> I tried with some ' and " variations, but no avail.
>
> I tried with Example1.java and this fails to find
> requested nodes as well.
>
> Please let me know how to get over this novice
> problems.
>
> Thanks,
> ZI
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
>