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


<jcs:edit-path>

Syntax

<xsl:call-template name="jcs:edit-path">
    <xsl:with-param name="dot" select="expression"/>
</xsl:call-template>

Description

Generate an <edit-path> element suitable for inclusion in an <xnm:error> or <xnm:warning> element. By default, the location of the configuration error is passed as dot into the <jcs:edit-path> template. This location defaults to ".", the current position in the XML hierarchy. You can alter the default by including the select attribute of the dot parameter.

Parameters

<xsl:param name="dot" select=".">—Allows you to indicate a location other than the current location in the XML hierarchy. The select attribute contains the current context "." as a default value. If you want to change the current context, you can include the dot parameter and include a different XPath expression in the select attribute.

Usage Guidelines

See <jcs:edit-path> Template.

Usage Example

See Requiring and Restricting Configuration Statements.

See Also

xsl:param, xsl:with-param


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