[MarkLogic Dev General] cts:reverse-query() in Alerting
mano m
mano07good at yahoo.co.in
Fri Oct 23 06:16:46 PDT 2009
Hi,
I am doing samples in Alerting.
1. I have created a serialized cts:query XML and stored in database.
URI
: /queries.xml
<queries>
<cts:text>Java</cts:text>
</cts:word-query>
</queries>
2.Now executed the following code
will return "true"
let $node :=
fn:doc("/queries.xml")
let $query := <xml-element>{cts:word-query("Java")}</xml-element>
return
cts:contains($query, cts:reverse-query($node))
1. How can we use this cts:reverse-query() in alerting application?
2. Whether cts:reverse-query() can be called in alert Rules?
Please send me if there is any sample related to cts:reverse-query()
in alerting. Thanks in advance.
Regards,
Mano
Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20091023/ad5c86b9/attachment-0001.html
More information about the General
mailing list