/ .. / / -> download
xml-transform(1)                   xml-utils                  xml-transform(1)

       xml-transform - Apply XSL transformations to XML documents

              xml-transform [-s <stylesheet> [-p <name>=<value> ...] ...]
                            [-o <file>] [-cdfilqSvh?] [<file> ...]

       Applies one or more XSLT stylesheets to one or more XML documents.

       -c, --combine
              Transform  the  input  files as a single, combined XML document,
              rather than as individual documents.

       -d, --preserve-dtd
              Preserve the DTD of the original document when transforming.

       -f, --overwrite
              Overwrite the specified files instead of writing to stdout.

       -h, -?, --help
              Show usage message.

       -i, --identity
              Includes an "identity" template in to each specified stylesheet.

       -l, --list
              Treat input (stdin or arguments) as lists of files to transform,
              rather than files themselves.

       -o, --out <file>
              Output  to  <file>  instead  of  stdout.  This option only makes
              sense when the input is a single XML document.

       -p, --param <name>=<value>
              Pass a parameter to the last specified stylesheet.  If specified
              before  any  stylesheets,  the  parameter  will be passed to all

       -q, --quiet
              Quiet mode.  Errors are not printed.

       -S, --xml-stylesheets
              Apply stylesheets that are associated to each XML document  with
              the    xml-stylesheet    processing   instruction.    Associated
              stylesheets are applied before any  user-specified  stylesheets,
              in the order in which they occur within the document.

       -s, --stylesheet <stylesheet>
              An XSLT stylesheet file to apply to each XML document.  Multiple
              stylesheets can be specified by supplying this argument multiple
              times.   The  stylesheets  will be applied in the order they are

       -v, --verbose
              Verbose output.

              Show version information.

       <file> ...
              Any number of XML documents to apply all  specified  stylesheets

       In addition, the following options allow configuration of the XML pars‐

              Load the external DTD.

       --huge Remove any internal arbitrary parser limits.

       --net  Allow network access to load external DTD and entities.

              Resolve entities.

              Do XInclude processing.

       --xml-catalog <file>
              Use an XML catalog when resolving entities.   Multiple  catalogs
              may be loaded by specifying this option multiple times.

   Identity template
       The  -i  option  includes  an "identity" template in to each stylesheet
       specified with the -s option.  The template is equivalent to this XSL:

              <xsl:template match="@*|node()">
              <xsl:apply-templates select="@*|node()"/>

       This means that any attributes or nodes which are not matched by a more
       specific template in the user-specified stylesheet are copied.

              $ xml-transform -s <XSL> <doc1> <doc2> ...


                                  2020-07-07                  xml-transform(1)

/ gopher://khzae.net/0/s1000d/xml/xml-utils/src/utils/xml-transform/README
Styles: Light Dark Classic