Converting an Event 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/event/script1.slax destination /var/db/scripts/event/script1.xslWhen you issue this command, the script1.slax file remains in the /var/db/scripts/event directory and a new script called script1.xsl is added to the /var/db/scripts/event directory. If you do not specify a filename for the destination
file, the file 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 an Event Script from XSLT to SLAX.