Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system scripts convert

Syntax

Description

Convert an Extensible Stylesheet Language Transformations (XSLT) script to Stylesheet Language Alternative syntaX (SLAX), or convert a SLAX script to XSLT.

Options

destination destination/<filename>

Path and filename for the converted file.

Optionally, you can specify a filename for the converted file. If you do not specify a filename, the software assigns one automatically. The default destination filename is SLAX-Conversion-Temp or slax-temp depending on the Junos OS release, with a randomly generated, five-character, alpha-numeric extension. For example, the software converts a source file called test.xsl to slax-temp.kWwQk. The software converts a source file called test1.slax to slax-temp.zN61h.

partial

(Optional) Convert partial script input.

slax-to-xslt

Convert a SLAX script to XSLT.

source source/filename

Path and filename of the file to convert.

version

(Optional) SLAX version number that will be included in the version statement of the generated script for XSLT-to-SLAX conversions. Acceptable values are 1.0 and 1.1.

  • Default: 1.1

xslt-to-slax

Convert an XSLT script to SLAX.

Required Privilege Level

maintenance

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request system scripts convert slax-to-xslt

request system scripts convert xslt-to-slax

Release Information

Command introduced in Junos OS Release 8.2.

partial and version options added in Junos OS Release 12.2.