net.sf.saxon
Class Compile
public class Compile
extends java.lang.Object
This
Compile class provides a command-line interface allowing a
stylesheet to be compiled.
protected void | badUsage(String message)- Output error message when incorrect command line options/arguments are used
|
protected void | doMain(args[] )- Support method for main program.
|
static void | main(args[] )- Main program, can be used directly from the command line.
|
protected static void | quit(String message, int code)- Exit with a message
|
badUsage
protected void badUsage(String message)
Output error message when incorrect command line options/arguments are used
message - Error message to be displayed
doMain
protected void doMain(args[] )
Support method for main program. This support method can also be invoked from subclasses
that support the same command line interface
main
public static void main(args[] )
throws java.lang.Exception Main program, can be used directly from the command line.
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.
quit
protected static void quit(String message,
int code) Exit with a message
message - Message to be outputcode - Result code to be returned to the operating system