next up previous contents
Next: Command-Line Arguments Up: G(arbage) C(collected) X(Query) Engine Previous: Compiling with/without Special Features   Contents

Supported Fragment of XQuery 1.0

Currently GCX supports composition-free XQuery [1], i.e. without let-clauses, and allows to use the following syntactic constructs (whereas node comparisons in conditions are always string value comparisons).

The explicit grammar of the supported XQuery 1.0 fragment is provided in the figure below.

Figure 1: Supported Fragment in GCX of XQuery 1.0

Note: The fn:doc() construct (cf. rule DocPathExpr) fixes the input document; all absolute paths in the query will be bound to this document and will override XML input stream specification from command-line (such as -xml). When fn:doc() is used multiple times, GCX expects all occurrences to contain the same document, i.e. input from multiples documents at a time is currently not supported.


next up previous contents
Next: Command-Line Arguments Up: G(arbage) C(collected) X(Query) Engine Previous: Compiling with/without Special Features   Contents