When you write automation 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 automation scripts and an import file called junos.xsl, which includes several named templates and extension functions that make automation scripts easier to read and write.
Automation 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: