Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 6e019a662639ac6470f50dea3a4d8157 > files > 31

docbook-style-xsl-doc-1.79.2-4.mga7.noarch.rpm

<html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>is.component</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference&nbsp;Documentation"><link rel="up" href="base.html" title="Common &raquo; Base Template Reference"><link rel="prev" href="base.html" title="Common &raquo; Base Template Reference"><link rel="next" href="template.is.section.html" title="is.section"><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.component</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="base.html">Prev</a>&nbsp;</td><th width="60%" align="center">Common &raquo; Base Template Reference</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="template.is.section.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="template.is.component"></a><div class="titlepage"></div><div class="refnamediv"><h2>is.component</h2><p>is.component &#8212; Tests if a given node is a component-level element</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">&lt;xsl:template name="is.component"&gt;
&lt;xsl:param name="node" select="."/&gt;
  ...
&lt;/xsl:template&gt;</pre></div><div class="refsect1"><a name="d0e33698"></a><h2>Description</h2><p>This template returns '1' if the specified node is a component
(Chapter, Appendix, etc.), and '0' otherwise.</p></div><div class="refsect1"><a name="d0e33703"></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="d0e33713"></a><h2>Returns</h2><p>This template returns '1' if the specified node is a component
(Chapter, Appendix, 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="base.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="base.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="template.is.section.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Common &raquo; Base Template Reference&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;is.section</td></tr></table></div></body></html>