Hello,

i'm new to xnd systems and xquery, and after reading the documentation 
of sedna and playing a bit with it, it's not clear to me if i want to 
search in an xml document in a similar way like the rmdb "like" 
functionality, can that be achieved with sedna only or i need (to 
purchase) dtsearch as well?

Eg i have a document

<bookstore>
<book>
<title>Apples</title>
</book>
<book>
<title>Oranges</title>
</book>
</bookstore>

can sy please show me an  flwor expression which gives me back the book 
which has "apple" in it's title, something similar to "select * from 
books where title like '%apple%'? Would dtsearch just needed to produce 
this result in a more efficient way due to indexing, or it's straight 
impossible to do without it? I saw fn:ftcontains might be useful (and i 
think that's part of xquery) but i couldn't get that working with a 
flwor expression - but probably because i'm just starting to learn it. 
Can somebody enlighten me about it please?

thanks, Gabor Horn

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to