CRexsel Arguments
Destination Folder (-d | --dest)

Normally the output XSL is written to the same folder as the rexsel source file. This argument allows this to be overriden and the XSL file to be written to another folder. For example

crexsel tangle.rxsl --dest ..

will send the XSL file to the parent folder. As a further example consider the following folder arrangement

Destination/Caching Folders

This configuration is taken from the arrangement in the Rexsel web site. The Rexsel source files are stored in a separate folder within the main transforms folder which store the actual XSL files. In order to build the XSL the following Ant is used.

<for param="fileName"> <path> <fileset dir="${theSourceFolder}/rexsel" includes="*.rxsl"/> </path> <sequential> <exec executable="/usr/local/bin/crexsel" dir="${theSourceFolder}/rexsel" output="report.txt"> <arg value="@{fileName}"/> <arg value="-d"/> <arg value="${theSourceFolder}"/> <arg value="-e"/> </exec> </sequential> </for>

where theSourceFolder is "..../transforms". CRexsel builds the cache information in the cache.json file within the folder "..../transforms/rexsel/rexsel_cache".

Copyright 2024 Hugh Field-Richards. All Rights Reserved.