The command line using crexsel is the recommended way to run Rexsel. It can also, therefore, be used in conjunction with a build system, such as Apache Ant (which is how it is used when building this web site).
The crexsel command invokes the RexselKernel on a list of input files. Each input file should have the extension "rxsl". The XSL output is sent to an output file in the same directory with the same name as the input but with the "xsl" extension.
The options that crexsel understands:
-h | --help | Show the full help. All other options on the command tail are ignored. |
-l | --lineNumbers | Show source line number comments interleaved in the output XSL. |
-n | --noXmlnsPrefix | Do not use “xsl:" prefix for XSL tags. The default name space for the document is considered to be "http://www.w3.org/1999/XSL/Transform" |
-s | --symbols | Output the symbol table as a comment at the head of the XSL output. If the verbose flag is set this is repeated on the console. |
-u | --undefined | Output the undefined variables with the errors. |
-e | --errors | Show the error list as a comment at the head of the XSL output. If the verbose flag is set the output is also sent to the console. |
-v | --verbose | Output all messages on the console. |
-d | --debug | Major debugging messages — avoid. |
--uncompile | Invoke the translation of existing XSLT files into \Rexsel\ files. |
Will translate all files matching "rxsl" in the current folder, and the output files will be to "xsl". The operation is carried out silently with no output to the console.