On Friday, December 6, 2002, at 12:00 PM, Matthew Van Horn wrote:

1. Xindice will NOT return attributes, only elements.
xindice xpath_query -c /db/testing -q /data/test2/forTest2 **will not work


2. use quotes around your query when using the command line, otherwise the shell tends to screw things up - especially with quote and parentheses characters. It's easier to use quotes than to escape everything that needs to be escaped.
xindice xpath_query -c /db/testing -q "/data/test2[forTest2 = '1']"



and I forgot - the query should be: "/data/[EMAIL PROTECTED] = '1']"
                                                 ^denotes attribute



Reply via email to