Hi, I think this does not work either. Under XP this solution did not work. I had to replace some lines in xindice.bat. Actually the command line processor of Windows does not seem to handle strings containing = correctly. It splits them up in two parameters. Then = is lost and the query is incorrect. You can ssee this if you remove the first line @echo off
Now the changes I made to get it working. REM set CL= REM :LOOP REM if "%1"=="" goto DONE REM set CL=%CL% %1 REM shift REM goto LOOP REM :DONE set CL=%1 %2 %3 %4 %5 %6 %7 %8 %9 The lines with REM are the lines, where I added REM and add the last set= .... See also my e-mail questions with regard to this. Klemens -----Urspr�ngliche Nachricht----- Von: Jeff Greif [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. Juli 2002 22:50 An: [email protected] Betreff: Re: Problem running the samples - XML:DB API as well as Xindice command 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 >
