If you are only interested in getting it work with the command line, then try this:
xindice xpath_query -c /db/data -q "/apprequest/[EMAIL PROTECTED]'9991']" If you want to run the query from a program, just create a String without the outer quotes and the inner qutes may be single or double. Saludos / Regards, José Ramón -----Original Message----- From: Kirmse, Daniel [mailto:[EMAIL PROTECTED] Sent: Miércoles, 03 de Septiembre de 2003 02:33 a.m. To: Xindice-Users (E-mail) Subject: Querying Xindice Hi, I have added some documents to a collection /db/data. They look like this: <?xml version="1.0" encoding="UTF-8"?> <apprequest> <item id="9991"> <posnr>9991</posnr> <posid>99919991</posid> <name>1</name> </item> </apprequest> where the id has values from 9991 up to 9993. Two docs have the same id 9991. I tried to start a xpath_query like this: xindice xpath_query -c /db/data -q /apprequest/[EMAIL PROTECTED]"9991"] I supposed to get some kind of reply. Instead Xindice just returns to the command prompt without saying anything. Neither it states an error or that nothing was found, nor does it provide me the expected result: Two docs would have matched the query. Am I missing something here??? Cheers, Daniel