format

Name

format -- generate XHTML from a RefEntry document

Synopsis

java format [-infile inputFile] [-outfile outputFile]

Description

The format command takes as input a RefEntry document conforming to the RefEntry DTD and uses the default stylesheet associated with the RefEntry servlet to transform the input into XHTML output.

Arguments

The format command takes the following optional arguments.

-infile inputFile

The XML RefEntry document to transform into XHTML. If not provided, the format uses standard input.

-outfile outputFile

The XML RefEntry document generated from the XML. If not provided, the format uses standard output.

Notes

The format command requires a Properties file, src/conf/xslt.props. Refer to xslt.props(5) for details.

ENVIRONMENT

The format command depends on XSLT tranformer packages, javax.xml.transform and javax.xml.transform.stream. It also requires that you include the WEB-INF/classes and current directory, ., in your CLASSPATH.