org.apache.xalan.xslt

Class Process

public class Process extends Object

The main() method handles the Xalan command-line interface.

UNKNOWN: general

Method Summary
static voidmain(String[] argv)
Command line interface to transform an XML document according to the instructions found in an XSL stylesheet.

Method Detail

main

public static void main(String[] argv)
Command line interface to transform an XML document according to the instructions found in an XSL stylesheet.

The Process class provides basic functionality for performing transformations from the command line. To see a list of arguments supported, call with zero arguments.

To set stylesheet parameters from the command line, use -PARAM name expression. If you want to set the parameter to a string value, simply pass the string value as-is, and it will be interpreted as a string. (Note: if the value has spaces in it, you may need to quote it depending on your shell environment).

Parameters: argv Input parameters from command line

Copyright © 2005 Apache XML Project. All Rights Reserved.