24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Querying Documents | 311Figure 134: Content Completion in the XPath consoleThe evaluation of the XPath expression tries to resolve the locations of documents referred in the expression throughthe <strong>XML</strong> catalogs which are configured in Preferences and the current XInclude preferences. An example is evaluatingthe collection(URIofCollection) function (XPath 2.0). If you need to resolve the references from the filesreturned by the collection() function with an <strong>XML</strong> catalog set up in the <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> preferencesyou have to specify the class name of the <strong>XML</strong> catalog enabled parser for parsing these collection files. The class nameis ro.sync.xml.parser.CatalogEnabled<strong>XML</strong>Reader and you specify it like this:let $docs := collection(iri-to-uri("file:///D:/temp/test/XQuery-catalog/mydocsdir?recurse=yes;select=*.xml;parser=ro.sync.xml.parser.CatalogEnabled<strong>XML</strong>Reader"))The results of an XPath query are displayed in a view that allows grouping them as a tree. Clicking a record in the resultlist highlights the matched nodes within the text editor panel with a character level precision. Results are returned in aformat that is a valid XPath expression:- /node[value]/node[value]/node[value] -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!