request system scripts convert
Syntax
request system scripts convert (slax-to-xslt | xslt-to-slax) source source/filename
destination destination/<filename>
Release Information
Command introduced in Junos OS Release 8.2.
Command introduced in Junos OS Release 9.0 for EX Series switches.
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
>
—Specify a destination 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 the same as the source filename, except the file extension is altered. For example,
the software converts a source file called
test.xsl
to
test.slax
. The software converts
a source file called
test1.slax
to
test1.xsl
.
slax-to-xslt
—Convert a SLAX script to XSLT.
source
source
/
filename
—Specify a source file that you want to convert.
xslt-to-slax
—Convert an XSLT script to SLAX.
Required Privilege
Level
maintenance
List of Sample Output
request system scripts convert slax-to-xslt on page 259
request system scripts convert xslt-to-slax on page 259
Output Fields
When you enter this command, you are provided feedback on the status of your request.
request system scripts
convert slax-to-xslt
user@host>
request system scripts convert slax-to-xslt source /var/db/scripts/op/script1.slax
destination /var/db/scripts/op
conversion complete
request system scripts
convert slax-to-xslt
request system scripts
convert xslt-to-slax
user@host>
request system scripts convert xslt-to-slax source
/var/db/scripts/commit/script1.xsl destination /var/db/scripts/commit
conversion complete
259
Copyright © 2010, Juniper Networks, Inc.
Chapter 17: Operational Mode Commands for System Setup
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...