Converting a Commit Script from SLAX to XSLT

To convert a SLAX script to XSLT, issue the request system scripts convert slax-to-xslt source source-directory/source-filename destination destination-directory/<destination-filename> operational mode command:. The source script is the basis for a new script. The source script is not overwritten by the new script.

For example:


user@host> request system scripts convert slax-to-xslt source /var/db/scripts/commit/script1.slax destination /var/db/scripts/commit/script1.xsl

The script1.slax file remains unchanged in the /var/db/scripts/commit directory, and a new script called script1.xsl is added to the /var/db/scripts/commit directory. If you do not specify a filename for the XSLT file, it is named SLAX-Conversion-Temp.xxxxx where xxxxx is a randomly generated series of characters.

To convert a script from XSLT to SLAX, see Converting a Commit Script from XSLT to SLAX.