I do not know xindice, but I would try : xindice xpath_query -c /db/corpora/taz -q "/corpus//token[text()='something'] Antoine -----Ursprungliche Nachricht----- Von: Thomas Zastrow [mailto:[EMAIL PROTECTED] Gesendet: Montag, 8. Dezember 2003 08:07 An: [email protected] Betreff: Step after step ...
... I'm approaching a solution, but there is just another question :-) With the text()-function I can access the content of a node via XPath: xindice xpath_query -c /db/corpora/taz -q "/corpus//token[text()]" Is it now possible to use something like pattern matches to get just some of the tags? For example: <token> something </token> To access this tag using a query like "Give me all tags which are starting with 'some'" or "Give me all tags that are ending with 'thing'" - or how can I solve this? Greetings and thanks, Tom P.S.: I hope that you don't think that I'm to stupid using Google or reading some books ... I have already done that more than once and was not able to get a hint how to solve this in XIndice ... all the examples I got where XSLT and doesn't work in Xindice. And I post this message just because in the thread above with Antoine nobodys answered ...
