new $exsl.node.set.available param in test.
</xsl:if>
- <xsl:if test="not(function-available('exslt:node-set') or
- function-available('exslt:nodeSet'))">
+ <xsl:if test="$exsl.node.set.available = 0">
<xsl:message terminate="yes">
<xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
<xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
</xsl:if>
- <xsl:if test="not(function-available('exslt:node-set') or
- function-available('exslt:nodeSet'))">
+ <xsl:if test="$exsl.node.set.available = 0">
<xsl:message terminate="yes">
<xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
<xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
<!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
toss the namespace and continue. Use the docbook5 namespaced
stylesheets for DocBook5 if you don't want to use this feature.-->
- <!-- include extra test for Xalan quirk -->
- <xsl:when test="(function-available('exsl:node-set') or
- contains(system-property('xsl:vendor'),
- 'Apache Software Foundation'))
+ <xsl:when test="$exsl.node.set.available != 0"
and (*/self::ng:* or */self::db:*)">
<xsl:call-template name="log.message">
<xsl:with-param name="level">Note</xsl:with-param>
</xsl:message>
</xsl:if>
- <xsl:if test="not(function-available('exslt:node-set') or
- function-available('exslt:nodeSet'))">
+ <xsl:if test="$exsl.node.set.available = 0">
<xsl:message terminate="yes">
<xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
<xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
</xsl:if>
- <xsl:if test="not(function-available('exslt:node-set') or
- function-available('exslt:nodeSet'))">
+ <xsl:if test="$exsl.node.set.available = 0">
<xsl:message terminate="yes">
<xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
<xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
</xsl:param>
<xsl:choose>
- <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')">
+ <xsl:when test="$chunk.fast != 0 and $exsl.node.set.available != 0">
<xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/>
<xsl:variable name="genid" select="generate-id()"/>
<xsl:include href="chunk-code.xsl"/>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
<xsl:variable name="chunk.hierarchy">
<xsl:if test="$chunk.fast != 0">
<xsl:choose>
- <xsl:when test="function-available('exsl:node-set')">
+ <xsl:when test="$exsl.node.set.available != 0">
<xsl:message>Computing chunks...</xsl:message>
<xsl:apply-templates select="/*" mode="find.chunks"/>
</xsl:when>
</xsl:param>
<xsl:choose>
- <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')">
+ <xsl:when test="$chunk.fast != 0 and $exsl.node.set.available != 0">
<xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/>
<xsl:variable name="genid" select="generate-id()"/>
toss the namespace and continue. Use the docbook5 namespaced
stylesheets for DocBook5 if you don't want to use this feature.-->
<!-- include extra test for Xalan quirk -->
- <xsl:when test="(function-available('exsl:node-set') or
- contains(system-property('xsl:vendor'),
- 'Apache Software Foundation'))
+ <xsl:when test="$exsl.node.set.available != 0
and (*/self::ng:* or */self::db:*)">
<xsl:call-template name="log.message">
<xsl:with-param name="level">Note</xsl:with-param>
toss the namespace and continue. Use the docbook5 namespaced
stylesheets for DocBook5 if you don't want to use this feature.-->
<!-- include extra test for Xalan quirk -->
- <xsl:when test="(function-available('exsl:node-set') or
- contains(system-property('xsl:vendor'),
- 'Apache Software Foundation'))
+ <xsl:when test="$exsl.node.set.available != 0
and (*/self::ng:* or */self::db:*)">
<xsl:call-template name="log.message">
<xsl:with-param name="level">Note</xsl:with-param>