Command line interfaces
In options such as -s and -xsl, URIs prefixed with
classpath: can be supplied to locate documents via the classpath. These
are recognized (along with the prefixes http: and file:) as
being URIs rather than filenames, avoiding the need to specify the -u
option.
On the Transform command line:
- a command-line option
-packhas been added to load packages via a catalog file. The argument is considered a URL if either the-uoption has been set, or the option argument starts withhttp:orfile:; otherwise it is treated as a file name. For details of the package catalog see the Javadoc documentation of class PackageCatalog. - the
-eaoption enables assertions (that is, the XSLT 3.0xsl:assertinstruction). Assertions are now disabled by default. - the
-xsloption can identify either a source stylesheet module, or a compiled stylesheet. - if the
-itoption is specified with no template name, the initial template namexsl:initial-templateis assumed. - the
-exportoption can be used to specify a destination to save the compiled version of the stylesheet. - the
-nogooption can be used to perform static analysis of the stylesheet only, stopping before the execution phase.
On the Validate command line:
- The
-reportoption provides a destination for a validation report in XML format. - The
-exportoption can be used to specify a destination to save the compiled version of the schema (the option-scmoutremains available as a synonym). - The
-xsdoption can identify either a source XSD document, or a compiled schema in SCM format.