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
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>is.section</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="base.html" title="Common Base Template Reference"><link rel="prev" href="template.is.component.html" title="is.component"><link rel="next" href="template.section.level.html" title="section.level"><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">is.section</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="template.is.component.html">Prev</a></td><th width="60%" align="center">Common Base Template Reference</th><td width="20%" align="right"><a accesskey="n" href="template.section.level.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="template.is.section"></a><div class="titlepage"></div>
<div class="refnamediv"><h2>is.section</h2><p>
is.section
— Tests if a given node is a section-level element
</p></div>
<div class="refsynopsisdiv"><h2>Synopsis</h2>
<pre class="synopsis"><xsl:template name="is.section">
<xsl:param name="node" select="."/>
...
</xsl:template></pre>
</div>
<div class="refsect1"><a name="idp9661696"></a><h2>Description</h2>
<p>This template returns '1' if the specified node is a section
(Section, Sect1, Sect2, etc.), and '0' otherwise.</p>
</div><div class="refsect1"><a name="idp9662720"></a><h2>Parameters</h2>
<div class="variablelist"><dl class="variablelist"><dt><span class="term">node</span></dt><dd>
<p>The node which is to be tested.</p>
</dd></dl></div>
</div><div class="refsect1"><a name="idp9665520"></a><h2>Returns</h2>
<p>This template returns '1' if the specified node is a section
(Section, Sect1, Sect2, etc.), and '0' otherwise.</p>
</div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="template.is.component.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="base.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="template.section.level.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">is.component</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">section.level</td></tr></table></div></body></html>
|