net.sf.saxon
public class Compile extends Object
Method Summary | |
---|---|
protected void | badUsage(String message) Output error message when incorrect command line options/arguments are used
|
protected void | doMain(String[] args)
Support method for main program. |
static void | main(String[] args)
Main program, can be used directly from the command line.
|
protected static void | quit(String message, int code)
Exit with a message
|
Parameters: message Error message to be displayed
Parameters: args the command-line arguments
The format is:
java net.sf.saxon.Compile [options] style-file output-file
This program compiles the XSL style sheet in style-file to the output-file.
Parameters: args Arguments supplied on the command line
Throws: java.lang.Exception Any compilation error occurs
Parameters: message Message to be output code Result code to be returned to the operating system