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

Importing the junos.xsl File

The import file junos.xsl contains several useful extension functions that you can call from an automation script. To use these functions, you must include two instructions in your script: the jcs namespace mapping and the <xsl:import> element:

xmlns:jcs="http://xml.juniper.net/junos/commit-scripts/1.0"
<xsl:import href="../import/junos.xsl"/>

Both the namespace mapping and the <xsl:import> element are contained in the basic script boilerplate presented in Boilerplate for Automation Scripts.

For more information, see the following sections:


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