1 .TH sabcmd 1 "June 17, 2002"
4 sabcmd \- a command line interface to Sablotron XSLT processor
7 [options] <stylesheet> [<input> [<output>]] [assignments]
10 [options] -batch-xml <input> [<stylesheet> [<output>]]+ [assignments]
13 [options] -batch-xsl <stylesheet> [<input> [<output>]]+ [assignments]
17 is a command line interface to Sablotron XSLT processor. You can
18 use is to transform XML files with XSLT stylesheets.
20 The only required parameter is a stylesheet; this is a URI of
21 an XSLT stylesheet to be used for the transformation process. If you
22 omit an input file, the standard input is used. In addition, you can
23 specify an output file. If no output file is given, the output is sent to
26 sabcmd can also run in a batch mode to process single input file with
27 multiple stylesheets (--batch-xml) or to apply a stylesheet to multiple
28 input files (--batch-xsl).
31 allow to pass parameters and named buffers to the
32 processor. The assignments have always the form of
34 name1=value1 name2=value2 ...
36 where name is either an ASCII string for named buffers or an ASCII string
37 with the leading '$' sign for parameters. (Note that you need to use the
38 right quotes to prevent the shell interpreter from performing an expansion
41 Option can be of two forms - short or long. If some options have
42 values, the values are separated with a whitespace for short options
43 and with a equal sign ('=') for long options.
53 multiple stylesheets, single input file
56 multiple input files, single stylesheet
59 set the hard base URI to NAME
62 display the information on debugging options
65 display this help message
67 .B \-L, --log-file=NAME
68 set the log file, turns logging on
71 measure the time of processing
74 display the version information
78 display results of the command line parse
81 run sabcmd the specified number of times
84 pass flags given to SablotSetOptions()
87 use SablotProcessFiles()
90 use SablotProcessStrings(). Give 2 args (stylesheet,
91 input). Precede each by @.
94 use SablotProcessStrings() on the contents of the given files.
96 When the <xsl:sort> instruction is used without the 'lang' attribute,
97 common locale related environment variables apply..
99 There are no known bugs related to
101 currently. Most of bugs you can meet are related to Sablotron
102 processor itself. In such a case, please take a look at Sablotron's
103 home website (www.gingerall.org) or contact us at <sab-bugs@gingerall.cz>.
106 Pavel Hlavnicka <pavel@gingerall.cz>