The import file junos.xsl contains the following templates:
Named templates in the junos.xsl file use the jcs prefix to avoid conflicting with templates defined in commit scripts. The templates in the jcs namespace allow you to accomplish scripting tasks more easily. To use these templates in your scripts, you simply include <xsl:call-template name="name"> elements and pass in any required or optional parameters. The name attribute specifies the name of the called template.
The <xsl:template match="/"> template is an unnamed template that allows you to use shortened XPath expressions in your scripts.
These templates are discussed in more detail in the following sections: