Shannon Shiflett wrote:
Hi,

Can cts:search() operate on a sequence of constructed nodes? Unknown whether "fully searchable XPath" precludes. E.g.,

let $x := collection("PGWDE")//tei:div1[cts:contains(.//tei:note, cts:word-query("foo"))]
return cts:search($x, cts:word-query("bar"))

Thanks,

Shannon
UVA Press

Not at this point, no. The first argument to cts:search() must start with doc(), collection(), input(), or slash (implying input()). It also has other restrictions, like it can't have positional predicates or use reverse axes. If you do, you'll get the "unsearchable expression" error.

-jh-
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to