File: exsl.node.set.available.html

package info (click to toggle)
docbook-xsl-doc 1.78.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,848 kB
  • sloc: makefile: 10; sh: 5
file content (33 lines) | stat: -rw-r--r-- 3,024 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>exsl.node.set.available</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: ReferenceDocumentation"><link rel="up" href="misc.html" title="Miscellaneous"><link rel="prev" href="monospace.verbatim.font.width.html" title="monospace.verbatim.font.width"><link rel="next" href="bookmarks.collapse.html" title="bookmarks.collapse"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">exsl.node.set.available</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="monospace.verbatim.font.width.html">Prev</a></td><th width="60%" align="center">Miscellaneous</th><td width="20%" align="right"><a accesskey="n" href="bookmarks.collapse.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="exsl.node.set.available"></a><div class="titlepage"></div>

<div class="refnamediv"><h2><span class="refentrytitle">exsl.node.set.available</span></h2><p>
exsl.node.set.available
 &#8212; Is the test function-available('exsl:node-set') true?
</p></div>

<div class="refsynopsisdiv"><h2>Synopsis</h2>
<a name="exsl.node.set.available.frag"></a><pre class="programlisting">&lt;xsl:param name="exsl.node.set.available"&gt; 
  &lt;xsl:choose&gt;
    &lt;xsl:when exsl:foo="" test="function-available('exsl:node-set') or                        contains(system-property('xsl:vendor'),                          'Apache Software Foundation')"&gt;1&lt;/xsl:when&gt;
    &lt;xsl:otherwise&gt;0&lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:param&gt;
</pre>
</div>

<div class="refsection"><a name="idp5395120"></a><h2>Description</h2>

<p>If non-zero,
then the exsl:node-set() function is available to be used in
the stylesheet.
If zero, then the function is not available.
This param automatically detects the presence of
the function and does not normally need to be set manually.</p>

<p>This param was created to handle a long-standing
bug in the Xalan processor that fails to detect the
function even though it is available.</p>

</div>
</div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="monospace.verbatim.font.width.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="misc.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="bookmarks.collapse.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">monospace.verbatim.font.width</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">bookmarks.collapse</td></tr></table></div></body></html>