Using Sun Java 1.3.1 on Windows XP

I started Xindice and added the two address XML files from the
distribution into a collection /db/addressbook

Querying the collection using 

    xindice xpath -c /db/addressbook -q /person

or 

    xindice xpath -c /db/addressbook -q /person/fname

works fine and as expected.  However if I try to select from the
collection using

    xindice xpath -c /db/addressbook -q /person[fname='John']

or

    xindice xpath -c /db/addressbook -q /person[fname="John"]

I get nothing returned.  After searching the mail list I tried to use
the quoted form

    xindice xpath -c /db/addressbook -q "/person[fname='John']"

and get

='John']""=="" was unexpected at this time

Any help is greatly appreciated.

Thanks
Julian


Reply via email to