1 <refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:exsl="http://exslt.org/common"
5 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
6 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 version="5.0" xml:id="exsl.node.set.available">
9 <refentrytitle>exsl.node.set.available</refentrytitle>
10 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
13 <refname>exsl.node.set.available</refname>
14 <refpurpose>Is the test function-available('exsl:node-set') true?</refpurpose>
18 <src:fragment xml:id="exsl.node.set.available.frag"><xsl:param name="exsl.node.set.available">
20 <xsl:when exsl:foo="" xmlns:exsl="http://exslt.org/common"
21 test="function-available('exsl:node-set') or
22 contains(system-property('xsl:vendor'),
23 'Apache Software Foundation')">1</xsl:when>
24 <xsl:otherwise>0</xsl:otherwise>
30 <refsection><info><title>Description</title></info>
33 then the exsl:node-set() function is available to be used in
35 If zero, then the function is not available.
36 This param automatically detects the presence of
37 the function and does not normally need to be set manually.</para>
39 <para>This param was created to handle a long-standing
40 bug in the Xalan processor that fails to detect the
41 function even though it is available.</para>