[Contents] [Prev] [Next] [Index] [Report an Error]

Introduction to Writing Commit Scripts

When you write commit scripts, you can use Extensible Stylesheet Language Transformations (XSLT) or Stylesheet Language Alternative Syntax (SLAX) tools provided by the JUNOS software. These tools include basic boilerplate that you must include in all commit scripts and an import file called junos.xsl, which includes several extension functions and named templates that make commit scripts easier to read and write.

Commit scripts are based on JUNOScript and JUNOS XML tag elements. Like all XML elements, angle brackets enclose the name of a JUNOScript or JUNOS XML tag element in its opening and closing tags. This is an XML convention, and the brackets are a required part of the complete tag element name. They are not to be confused with the angle brackets used in Juniper Networks documentation to indicate optional parts of CLI command strings.

This chapter includes the following topics:


[Contents] [Prev] [Next] [Index] [Report an Error]