cts:document-query( $uris as xs:string* ) as cts:document-query
Returns a query matching documents with the given URIs. It will match both documents and properties documents with the given URIs.
Parameters | |
---|---|
uris | One or more document URIs. |
cts:search(//function, cts:document-query("/reports.xml")) => .. relevance-ordered sequence of 'function' elements in the document "/reports.xml".
cts:search(//function, cts:and-query(("repair", cts:document-query(("/reports.xml", "/analysis.xml"))))) => .. relevance ordered sequence of 'function' elements in any document that both contains the word "repair" and is in either the document "/reports.xml" or in the document "/analysis.xml".