sabcmd(1)
π sabcmd(1) π
okay bestie, welcome to the General Commands Manual page for sabcmd β your command line interface to the Sablotron XSLT processor. You can use it to transform XML files with XSLT stylesheets, and it is literally giving useful π
πΈ SYNOPSIS πΈ
sabcmd [options] <stylesheet> [<input> [<output>]] [assignments]
sabcmd [options] -batch-xml <input> [<stylesheet> [<output>]]+
[assignments]
sabcmd [options] -batch-xsl <stylesheet> [<input> [<output>]]+
[assignments]
β¨ DESCRIPTION β¨
sabcmd is a command line interface to the Sablotron XSLT processor. You can use it to transform XML files with XSLT stylesheets π¦
The only required parameter is a stylesheet; this is a URI of an XSLT stylesheet to be used for the transformation process. If you omit an input file, standard input is used. In addition, you can specify an output file. If no output file is given, the output is sent to standard output. no cap β¨
sabcmd can also run in a batch mode to process a single input file with multiple stylesheets (--batch-xml) or to apply a stylesheet to multiple input files (--batch-xsl) π
Assignments allow you to pass parameters and named buffers to the processor. The assignments always have the form of
name1=value1 name2=value2 ...
where name is either an ASCII string for named buffers or an ASCII string with the leading $ sign for parameters. (Note that you need to use the right quotes to prevent the shell interpreter from performing an expansion of variables) π«Ά
π₯ OPTIONS π₯
Options come in two forms, bestie: short or long. If some options have values, the values are separated with a whitespace for short options and with an equal sign ('=') for long options.
-L mylog.log
is the same as
--log-file=mylog.log
π COMMON OPTIONS π
-x,--batch-xmlβ multiple stylesheets, single input file-s,--batch-xslβ multiple input files, single stylesheet-b,--base=NAMEβ set the hard base URI toNAME--debug-optionsβ display the information on debugging options-?,--helpβ display this help message-L,--log-file=NAMEβ set the log file, turns logging on-m,--measureβ measure the time of processing-v,--versionβ display the version information
π DEBUG OPTIONS π
--debugβ display results of the command line parse-t,--times=COUNTβ runsabcmdthe specified number of times-f,--flagsβ pass flags given toSablotSetOptions()-F,--use-SPFβ useSablotProcessFiles()-S,--use-SPSβ useSablotProcessStrings(). Give 2 args (stylesheet, input). Precede each by@.--use-SPS-on-filesβ useSablotProcessStrings()on the contents of the given files.
π ENVIRONMENT π
When the <xsl:sort> instruction is used without the 'lang' attribute, common locale related environment variables apply.. π
π BUGS π
There are no known bugs related to sabcmd currently. Most of the bugs you can meet are related to the Sablotron processor itself. In such a case, please take a look at Sablotron's home website (www.gingerall.org) or contact us at <sab-bugs@gingerall.cz>. π
π AUTHOR π
Pavel Hlavnicka <pavel@gingerall.cz> π
okay thatβs the whole page, bestie π signing off from the General Commands Manual corner, source/version sabcmd(1), dated June 17, 2002 πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: sablot 1.0.3-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: sablot 1.0.3-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: sablot 1.0.3-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: sablot 1.0.3-bp160.1.12 Β· GPL-2.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms