<jcs:emit-change>
Syntax
<xsl:call-template name="jcs:emit-change"><xsl:with-param name="content">...</xsl:with-param><xsl:with-param name="dot"select="expression"/><xsl:with-param name="message"><xsl:text>...</xsl:text></xsl:with-param><xsl:with-param name="name" select="name($dot)"/><xsl:with-paramname="tag" select="'change'"/><xsl:with-paramname="tag" select="'transient-change'"/></xsl:call-template>Description
Generate a
<change>or<transient-change>element, which results in a persistent or transient change to the configuration.Parameters
<xsl:param name="content">—Allows you to include the content of the change, relative todot.
<xsl:param name="dot" select=".">—Allows you to indicate a location other than the current location in the XML hierarchy. Theselectattribute contains the current context "." as a default value. If you want to change the current context, you can include thedotparameter and include a different XPath expression in theselectattribute.
<xsl:param name="message">—Allows you to include a warning message to be displayed by the CLI, notifying the user that the configuration has been changed. Themessageparameter automatically includes the edit path, which defaults to the current location in the XML hierarchy. To change the default edit path, include thedotparameter.
<xsl:param name="name" select="name($dot)"/>—Allows you to refer to the current element or attribute. Thename()XPath function returns the name of an element or attribute. Thenameparameter defaults to the name of the element in$dot(which in turn defaults to ".", the current element).<xsl:param name="tag" select="'change'"/>—Allows you to specify the type of change to be generated. By default, the
<jcs:emit-change>template generates a permanent change, as designated by the'change'expression. To specify a transient change, you must include thetagparameter and include the'transient-change'expression, as shown here:<xsl:with-param name="tag" select="'transient-change'"/>Usage Guidelines
See <jcs:emit-change> Template.
Usage Example
See Imposing a Minimum MTU Setting.
See Also