net.sf.saxon
Class Query

java.lang.Object
  extended by net.sf.saxon.Query
Direct Known Subclasses:
JDOMQuery, Query

public class Query
extends Object

This Query class provides a command-line interface to the Saxon XQuery processor.

The XQuery syntax supported conforms to the W3C XQuery 1.0 drafts.

Author:
Michael H. Kay

Constructor Summary
Query()
           
 
Method Summary
static void main(String[] args)
          Main program, can be used directly from the command line.
 void setPOption(Configuration config)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Main program, can be used directly from the command line.

The format is:

java net.sf.saxon.Query [options] query-file >output-file

followed by any number of parameters in the form {keyword=value}... which can be referenced from within the query.

This program executes the query in query-file.

Parameters:
args - List of arguments supplied on operating system command line
Throws:
Exception - Indicates that a compile-time or run-time error occurred

setPOption

public void setPOption(Configuration config)


Copyright (C) Michael H. Kay. All rights reserved.