Running CRexsel

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).

Synopsis
crexsel ( [<inputs> ...] [--uncompile] [--symbols] [--errors] [--undefined] [--lineNumbers] [--noXmlnsPrefix] [--verbose] [--debug] ) | ( (-h|--help)] )
Description

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.
Arguments
Input Files
~ % crexsel *.rxsl ~ %

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.

Help
~ % crexsel -h OVERVIEW: Rexsel Compiler V1.0.7 Translates Rexsel files to XSLT and vice versa. USAGE: crexsel *.rxsl --errors --symbols crexsel *.xsl --uncompile ARGUMENTS: <inputs> Set of Rexsel files to compile to XSLT. OPTIONS: --uncompile Transform XSLT file into Rexsel. -s, --symbols Generate symbol table in the code. -e, --errors Show error list in output. -u, --undefined Show undefined errors (ignore external defines). -l, --lineNumbers Insert Rexsel source line numbers in XSL. -n, --noXmlnsPrefix No xsl namespace prefix. -v, --verbose Verbose console messages. -d, --debug Output debug messages. -h, --help Show help information. ~ %
Copyright 2024 Hugh Field-Richards. All Rights Reserved.