Navigation
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- Required Boilerplate for Commit Scripts
- Required Boilerplate for Op Scripts
- ACX, EX, M, MX, PTX, SRX, T Series
- Required Boilerplate for Event Scripts
- ACX, EX, M, MX, SRX, T Series
- SLAX Syntax Rules Overview
version
Syntax
version 1.0;
Release Information
Statement introduced in version 1.0 of the SLAX language.
Description
Specify the version of SLAX that is being used. All SLAX style sheets must begin with a version statement.
Version 1.0 uses XML version 1.0 and XSLT version 1.1.
In addition, the xsl namespace is implicitly defined as follows:
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Attributes
version-number | — | Specifies the version of SLAX. Junos OS supports SLAX version 1.0. |
SLAX Example
version 1.0;
XSLT Equivalent
<xsl:stylesheet version="1.0">
Usage Examples
- Example: Adding a Final then accept Term to a Firewall
- Example: Changing the Configuration Using an Op Script
- Example: Assigning a Classifier
- Example: Imposing a Minimum MTU Setting
- Example: Restarting an FPC Using an Op Script
Related Documentation
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- Required Boilerplate for Commit Scripts
- Required Boilerplate for Op Scripts
- ACX, EX, M, MX, PTX, SRX, T Series
- Required Boilerplate for Event Scripts
- ACX, EX, M, MX, SRX, T Series
- SLAX Syntax Rules Overview
Published: 2013-03-05
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- Required Boilerplate for Commit Scripts
- Required Boilerplate for Op Scripts
- ACX, EX, M, MX, PTX, SRX, T Series
- Required Boilerplate for Event Scripts
- ACX, EX, M, MX, SRX, T Series
- SLAX Syntax Rules Overview