Executing an XQuery from the Command Line

You use the StylusXql utility to execute an XQuery from the command line. The StylusXql utility uses the Stylus Studio's built-in XQuery and XPath processors. The built-in processors are designed to aid testing and debugging and have not been optimized for performance. If you want to choose a particular processor, specify the processor in the XSLT scenario and run the scenario from within Stylus Studio.

The StylusXql utility takes the following format:

StylusXql [-in <source>] [-out<output file>] [-param name+value] [-i] [-debug host[:port]] <XQuery file>

Table 11 describes the parameters for the StylusXql command. All parameters are required.

Free Stylus Studio XML Training:
W3C Member