CRexsel Arguments
Translate XSLT Files into Rexsel (--uncompile)

To assist the production of \Rexsel\ scripts from existing XSLT scripts, the crexsel offers an "uncompile" function that translates XSLT into \Rexsel. The uncompiler is certainly not foolproof, especially when xml entities are used, and the code would require checking afterwards to ensure accuracy; it also does not translate embedded comments. However it gives a good starting point when translating legacy XSLT scripts, converting most scripts accurately, although the XML namespaces would need to be checked.

For example

hsfr@bramley widgets % crexsel buildSiteWidget-latex.xsl --uncompile -v Processing buildSiteWidget-latex.xsl to buildSiteWidget-latex.rxsl Finished hsfr@bramley widgets %

The "--verbose" flag is the only valid option here. Normally the whole process runs silently.

Copyright 2024 Hugh Field-Richards. All Rights Reserved.