Isn't there a contains() function in XPath 2.0?

In Tamino's xpath-1.0-like query language they use ~= for a
fulltext "contains", as in
/document/section[objective~="develop"] (find all document
sections whose objective contains the word "develop").
I'm not suggesting you copy Tamino extensions to xpath, but
FWIW theirs works quite well in practice.


---- Original message ----
>Date: Thu, 19 Feb 2004 16:59:42 +0000
>From: Andy Armstrong <[EMAIL PROTECTED]>  
>Subject: Xindice full text indexing  
>To: [EMAIL PROTECTED]
>
>I've written a full text indexer that builds a Lucene index.
That all 
>seems to work fine. Now the hard part: what should the API be
for 
>querying the index? I can't find a spec for XPath full text
queries 
>although there is this document:
> 
http://www.w3.org/TR/2003/WD-xquery-full-text-requirements-20030502/
>
>which sets out a few requirements. Any thoughts?
>
>-- 
>Andy Armstrong, Tagish
>
>

Reply via email to