xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Greif" <jgr...@alumni.princeton.edu>
Subject Re: Newbie-Question
Date Thu, 06 Nov 2003 18:04:14 GMT
Try quoting the entire query string, like this
xindice xpath_query -c /db/corpora/taz -q '/corpus//syntax[@cat="NE"]'
or this
xindice xpath_query -c /db/corpora/taz -q "/corpus//syntax[@cat='NE']"

Different operating systems prefer one or the other version, so if one fails
to help, try the other.

Jeff

----- Original Message ----- 
From: "Thomas Zastrow" <chef@thomas-zastrow.de>
To: <xindice-users@xml.apache.org>
Sent: Thursday, November 06, 2003 9:50 AM
Subject: Newbie-Question


> Hello,
>
> I'm Tom from Germany and I'm new to Xindice and this list :-)
>
> At first I would like to thank all the people around Xindice, it's a great
pice of software!
...
> Now I want just all the <syntax>-Tags which matches for example with
cat="NE". So I did this:
>
> xindice xpath_query -c /db/corpora/taz -q /corpus//syntax[@cat="NE"]
>
> And the result ist empty ... but there *are* a lot matching <syntax>-Tags
with the atribut cat="NE"
...


Mime
View raw message