Table of Contents
In Qizx/open, the following elements are absent:
in package com.qizx.api: all classes whose name begins with 'Library': Library, LibraryMember, etc,
in package com.qizx.api: interface AccessControl and User, class AccessControlException,
package com.qizx.api.util.accesscontrol .
fn:doc ($path-or-URL as xs:string)
as node()The standard doc() function of XQuery.
Parameter $path-or-URL: This argument can be a simple file path or any URL supported by the Java run-time.
Returned value: a document node.
Example:
doc("../book_data/Authors/iasimov.xml")
doc("http://www.axyana.com/qizx_tests/doc.cml")fn:collection ($path as xs:string)
as node()*This is the standard collection() function of XQuery, slightly extended.
Parameter $path: This argument is a list of documents paths, separated by commas or semicolons.
A normal path (without wildcard characters) is treated as per the function fn:doc(). So it can either be part of a XML Library, or be an external document (file or URL) parsed on the fly.
If a path contains the wildcard characters * or ?, it is treated as a file pattern and expanded. Attention: wildcard characters are currently accepted only in the file name, not in the path of the parent directory.
For example can be expanded, while collection("/home/data1/*.xml;/home/data2/*.xml") currently cannot be expanded (generates an error).collection("/home/*/*.xml;")
All of the documents must be accessible, or an error is raised.
If the expanded sequence of documents is empty, an error is raised.
Returned value: a sequence of document nodes.
Example:
collection("../book_data/Authors/*.xml;../book_data/Author blurbs/*.xhtml")