stk:system.check-config(function)

This function is used to check for required config setup, i.e. if site config file is set (and exists). Normally only used during development.

element()?stk:system.check-config

Examples

Input

<!-- Run config check to make sure everything is OK -->
<xsl:variable name="config-status" select="stk:system.check-config()"/>
<xsl:choose>
    <xsl:when test="$config-status/node()">
        <xsl:copy-of select="$config-status"/>
    </xsl:when>
    <xsl:otherwise>
        <xsl:call-template name="page"/>
    </xsl:otherwise>
</xsl:choose>