Commandline Application - 4xslt

4XSLT version 1.0b1

4XSLT command-line application

Usage

4xslt
[--help] [--version] [--validate] [--ignore]
[--media=<MEDIA>] [--define=<NAME=VALUE>]
[--alt-sty-path=<PATH>] [--alt-sty-uri=<URI>]
[--outfile=<FILE>] [--stacktrace-on-error] [--noxinclude]
[--trace] [--trace-file=<FILE>] [--reflex] [--compile]
[--instant] [--time] [--msg-prefix=<STRING>]
[--msg-suffix=<STRING>] [--no-messages] [source-uri]
[stylesheet-uri]...

Options

Name Description
-h, --help show detailed help message
-V, --version Display program version and exit
-v, --validate Validate the input file as it is being parsed
-i, --ignore Ignore <?xml-stylesheet ...?> instructions
--media=<MEDIA> Set media to honor in xml-stylesheet PIs
-D, --define=<NAME=VALUE> Bind a top-level parameter
-I, --alt-sty-path=<PATH> Same as --alt-sty-uri but uses OS path
--alt-sty-uri=<URI> Define an add'l base URI for imports & includes
-o, --outfile=<FILE> Direct transformation output to FILE (file will be overwritten if it exists)
-e, --stacktrace-on-error Display a stack trace when an error occurs
--noxinclude Do not expand XIncludes in source or stylesheet
--trace Send execution trace output to stdout or file
--trace-file=<FILE> Set trace file for execution trace output
--reflex The stylesheet is also the source document. Useful for cases where the stylesheet doesn't really use the source.
--compile Compile an instant stylesheet. The result is written to stdout, unless -o is used.
--instant The stylesheet passed in is an "instant" (compiled) stylesheet. Only one stylesheet can be specified with this option.
--time Display the elapsed transformation time on stderr
--msg-prefix=<STRING> Prepend string to xsl:message output
--msg-suffix=<STRING> Append string to xsl:message output
--no-messages Suppress xsl:message output and warnings

Arguments

Name Description
source-uri The URI of the source XML document. Required unless running "4xslt -V",or with --reflex or --compile. Note: if you use "-" as the name of the source document, the source will instead be read from standard input.
stylesheet-uri The URI(s) of the stylesheets to apply to the source XML.