Importing the junos.xsl File
The import file
junos.xslcontains several useful extension functions that you can call from an op script. To use these functions, you must include two instructions in your script: thejcsnamespace 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 Op Scripts.