May be the problem lies in the shell you are using (Interpretation of quotes by the shell)? I got no result using the query
$ xindice xpath -c /db/test -q //[EMAIL PROTECTED]"1234"] but the query $ xindice xpath -c /db/test -q '//[EMAIL PROTECTED]"1234"]' works fine (note the single qotes). I am using /bin/bash on a mandrake linux box. hope this helps, Frank > Hi all, > > 1) I have tried the following command line XPath to query my database and both of > them throw a query error > > xindice xpath -c /db/rated -s "ipd=http://www.ipdr.org/namespaces/ipdr" > -q //ipd:[EMAIL PROTECTED]"WLAN_20030702165635+0200_539055914_1"] > > xindice xpath -c /db/rated -s "ipd=http://www.ipdr.org/namespaces/ipdr" > -q //ipd:[EMAIL PROTECTED]:docId="WLAN_20030702165635+0200_539055914_1"] > > This is strange as the query //ipd:IPDRDoc works correctly and the docId is a copy > and paste of the exact id from one of the document > Can anyone spot the error?