On Sep 10, 2008, at 1:07 PM, James A. Robinson wrote:
I couldn't run a search using an $expression of two doc() calls:
cts:search(
(doc('/1.xml'), doc('/2.xml'))/hw:doc/a:entry,
$query)
The simplest approach is to pass a sequence of ids to the doc()
function:
cts:search(
doc(('/1.xml', '/2.xml'))/hw:doc/a:entry,
$query
)
Variables and constructed sequences aren't searchable expressions,
even if what they point at or hold would be.
-jh-
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general