You can use Ant scripts to call the XSLT scripts and provide parameters for the transformations.
- Create a Ant script that contains targets for the output that you want to build.
- Run either the startcmd.bat or startcmd.sh file.
- From the command prompt, type the following string and press Enter:
ant -f build_file target
where
- -l log_file is a optional parameter that will log the X to log_file. By default, the X is displayed in the command-prompt window.
- -f build_file is an optional parameter that specifies the Ant script. If you do not issue this parameter, Ant looks for a build.xml file in the current directory.
- target is the name of the Ant target that you want to run.