Hy,

I found in the W3C "XQuery 1.0 and XPath 2.0 Functions and Operators" ( http://www.w3.org/TR/xquery-operators/ ) a "xf:contains" function (http://www.w3.org/TR/xquery-operators/#func-contains) : is it implemented in the xpath parser of xindice ? If yes, can somebody give me the syntax of the query ?

In other words, I would like to search for documents whose text contains something (no really need of a fulltext search engine, but need a bit more than only node retrieval, based on attributes values).

Example: consider the 2 documents:

<AAA id="doc1">
 <BBB att=foo>
   Text part for doc1.
 </BBB>
 <CCC/>
</AAA>

<AAA id="doc2">
 <BBB att=bar>
   Text part for doc2.
 </BBB>
 <CCC/>
</AAA>

How can i find ' the document whose node BBB contains "for doc2" ' ?

Thanks for help,
Erick.




Reply via email to