Transforming from the Command Line with Xalan
To run a transform from the command line, you initiate a Xalan
Processclass using the following command:
Note: Remember to use the endorsed directories mechanism to access the Xalan libraries, as described in Compiling and Running the Program.
With this command, the output goes to
System.out. The-OUToption can also be used to output to a file.The
Processcommand also allows for a variety of other options. For details, seehttp://xml.apache.org/xalan-j/commandline.html.