next up previous contents
Next: Extended Evaluation Mode Up: Command-Line Arguments Previous: Command-Line Arguments   Contents

Standard Evaluation Mode

The standard evaluation mode provides the GCX engine with standard I(nput)/ O(utput) stream options. This means that the (input) query and also the (input) XML document each comes from their own file. The usage of the standard evaluation mode is
gcx [STD EVAL MODE]

with

[STD EVAL MODE] ::= --query <query_file> [--xml <xml_file>] [OPTION]?

whereas the --query argument fixes the (input) query file and the --xml argument fixes the (input) XML document. The optional [OPTION] part is described in subsection Debug Options. Note that --xml <xml_file> is required only if the document is not given in query through function fn:doc() inside the XQuery itself.