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
-pack
has been added to load packages via a catalog file. The argument is considered a URL if either the-u
option 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 classPackageCatalog
. - the
-ea
option enables assertions (that is, the XSLT 3.0xsl:assert
instruction). Assertions are now disabled by default. - the
-xsl
option can identify either a source stylesheet module, or a compiled stylesheet. - if the
-it
option is specified with no template name, the initial template namexsl:initial-template
is assumed. - the
-export
option can be used to specify a destination to save the compiled version of the stylesheet. - the
-nogo
option can be used to perform static analysis of the stylesheet only, stopping before the execution phase.
On the Validate
command line:
- The
-report
option provides a destination for a validation report in XML format. - The
-export
option can be used to specify a destination to save the compiled version of the schema (the option-scmout
remains available as a synonym). - The
-xsd
option can identify either a source XSD document, or a compiled schema in SCM format.