NAME
4xslt — command-line tool for performing XSLT transformations on XML
documents
SYNOPSIS
4xslt [-h | --help ] [-V | --version ] [-v | --validate ] [-i |
--ignore ] [--media=MEDIA ] [-D | --define=NAME=VALUE ] [-P |
--prefix=PREFIX=NSURI ] [-I | --alt-sty-uri=URI ] [-o |
--outfile=FILE ] [-e | --stacktract-on-error ] [--noxinclude ]
[--trace ] [--trace-file=FILE ] [--reflex ] [--compile ] [--instant
] [--chain ] [--time ] [--msg-prefix=STRING ] [--msg-suffix=STRING
] [--no-messages ] {source-uri } {stylesheet-uri }
OPTIONS
The program follows the usual GNU command line syntax, with long
options starting with two dashes (‘-’).
-h, --help
Show detailed help message.
-V, --version
Display version information and exit.
-v, --validate
DTD 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.
-P, --prefix=PREFIX=NSURI
Assign a namespace to a prefix used in a top-level parameter.
-I, --alt-sty-path=PATH
Same as --alt-sty-uri but uses OS path.
--alt-sty-uri=PATH
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 document and stylesheet.
--trace Send execution trace output to stderr or file set by --trace-
file.
--trace-file=FILE
Trace file for execution trace output when using --trace.
--reflex Reflexive transform (the stylesheet is also the source
document).
--compile Compile an instant stylesheet. The result is written to
stdout, unless -o is used.
--instant The stylesheet is "instant" (compiled). Only one stylesheet
can be specified with this option.
--chain Chain the stylesheets (result of transforming with the first
is the source document for transforming with the second, and
so on). Without this option, each extra stylesheet is
imported by the preceding one.
--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.
source-uri
The URI of the XML document to transform, or "-" to indicate
standard input. If using --reflex, it is also the stylesheet.
If using --compile, it is the stylesheet to compile.
stylesheet-uri
The URI(s) of the stylesheet(s) to apply.
AUTHOR
Raphael Bossek <bossekr@debian.org>
VERSION
$Revision: 1.1 $
COPYRIGHT
Copyright © 2006 Raphael Bossek
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.