Showing:

Documentation
Parameters
Used by
References
Included from
Source
Stylesheet component.xsl
Documentation

Description

This file was created automatically by html2xhtml
from the HTML stylesheets.
Included from
Template component.title
Documentation

Description

 ********************************************************************
     $Id$
     ********************************************************************

     This file is part of the XSL DocBook Stylesheet distribution.
     See ../README or http://docbook.sf.net/release/xsl/current/ for
     copyright and other information.

     ******************************************************************** 
 ==================================================================== 
Namespace No namespace
Used by
References
Parameter generate.id.attributes
Template anchor
Parameters
QName Namespace Select
node No namespace .
Import precedence 0
Source
<xsl:template name="component.title">
  <xsl:param name="node" select="."/>
  <xsl:variable name="level">
    <xsl:choose>
      <xsl:when test="ancestor::d:section">
        <xsl:value-of select="count(ancestor::d:section)+1"/>
      </xsl:when>
      <xsl:when test="ancestor::d:sect5">6</xsl:when>
      <xsl:when test="ancestor::d:sect4">5</xsl:when>
      <xsl:when test="ancestor::d:sect3">4</xsl:when>
      <xsl:when test="ancestor::d:sect2">3</xsl:when>
      <xsl:when test="ancestor::d:sect1">2</xsl:when>
      <xsl:otherwise>1</xsl:otherwise>
    </xsl:choose>
  </xsl:variable>
  <!-- Let's handle the case where a component (bibliography, for example)
       occurs inside a section; will we need parameters for this? -->
  <xsl:element name="h{$level+1}" namespace="http://www.w3.org/1999/xhtml">
    <xsl:attribute name="class">title</xsl:attribute>
    <xsl:if test="$generate.id.attributes = 0">
      <xsl:call-template name="anchor">
        <xsl:with-param name="node" select="$node"/>
        <xsl:with-param name="conditional" select="0"/>
      </xsl:call-template>
    </xsl:if>
    <xsl:apply-templates select="$node" mode="object.title.markup">
      <xsl:with-param name="allow-anchors" select="1"/>
    </xsl:apply-templates>
  </xsl:element>
</xsl:template>
Template component.subtitle
Namespace No namespace
Used by
Parameters
QName Namespace Select
node No namespace .
Import precedence 0
Source
<xsl:template name="component.subtitle">
  <xsl:param name="node" select="."/>
  <xsl:variable name="subtitle" select="($node/d:docinfo/d:subtitle                         |$node/d:info/d:subtitle                         |$node/d:prefaceinfo/d:subtitle                         |$node/d:chapterinfo/d:subtitle                         |$node/d:appendixinfo/d:subtitle                         |$node/d:articleinfo/d:subtitle                         |$node/d:artheader/d:subtitle                         |$node/d:subtitle)[1]"/>
  <xsl:if test="$subtitle">
    <h3 class="subtitle">
      <i>
        <xsl:apply-templates select="$node" mode="object.subtitle.markup"/>
      </i>
    </h3>
  </xsl:if>
</xsl:template>
Template component.separator
Namespace No namespace
Used by
Import precedence 0
Source
<xsl:template name="component.separator">
</xsl:template>
Template d:dedicationdedication
Documentation

Description

 ==================================================================== 
Namespace No namespace
Match d:dedication
Mode dedication
References
Import precedence 0
Source
<xsl:template match="d:dedication" mode="dedication">
  <xsl:call-template name="id.warning"/>
  <div>
    <xsl:call-template name="common.html.attributes">
      <xsl:with-param name="inherit" select="1"/>
    </xsl:call-template>
    <xsl:call-template name="dedication.titlepage"/>
    <xsl:apply-templates/>
    <xsl:call-template name="process.footnotes"/>
  </div>
</xsl:template>
Template d:dedication/d:title|d:dedication/d:info/d:titletitlepage.mode
Namespace No namespace
Match d:dedication/d:title|d:dedication/d:info/d:title
Mode titlepage.mode
References
Template component.title
Import precedence 0
Priority 2
Source
<xsl:template match="d:dedication/d:title|d:dedication/d:info/d:title" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.title">
    <xsl:with-param name="node" select="ancestor::d:dedication[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:dedication/d:subtitle|d:dedication/d:info/d:subtitletitlepage.mode
Namespace No namespace
Match d:dedication/d:subtitle|d:dedication/d:info/d:subtitle
Mode titlepage.mode
References
Import precedence 0
Priority 2
Source
<xsl:template match="d:dedication/d:subtitle|d:dedication/d:info/d:subtitle" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.subtitle">
    <xsl:with-param name="node" select="ancestor::d:dedication[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:dedication
Namespace No namespace
Match d:dedication
Mode #default
Import precedence 0
Source
<xsl:template match="d:dedication"/>
Template d:dedication/d:title
Documentation

Description

 see mode="dedication" 
Namespace No namespace
Match d:dedication/d:title
Mode #default
Import precedence 0
Source
<xsl:template match="d:dedication/d:title"/>
Template d:dedication/d:subtitle
Namespace No namespace
Match d:dedication/d:subtitle
Mode #default
Import precedence 0
Source
<xsl:template match="d:dedication/d:subtitle"/>
Template d:dedication/d:titleabbrev
Namespace No namespace
Match d:dedication/d:titleabbrev
Mode #default
Import precedence 0
Source
<xsl:template match="d:dedication/d:titleabbrev"/>
Template d:acknowledgementsacknowledgements
Documentation

Description

 ==================================================================== 
Namespace No namespace
Match d:acknowledgements
Mode acknowledgements
References
Import precedence 0
Source
<xsl:template match="d:acknowledgements" mode="acknowledgements">
  <xsl:call-template name="id.warning"/>
  <div>
    <xsl:call-template name="common.html.attributes">
      <xsl:with-param name="inherit" select="1"/>
    </xsl:call-template>
    <xsl:call-template name="acknowledgements.titlepage"/>
    <xsl:apply-templates/>
    <xsl:call-template name="process.footnotes"/>
  </div>
</xsl:template>
Template d:acknowledgements/d:title|d:acknowledgements/d:info/d:titletitlepage.mode
Namespace No namespace
Match d:acknowledgements/d:title|d:acknowledgements/d:info/d:title
Mode titlepage.mode
References
Template component.title
Import precedence 0
Priority 2
Source
<xsl:template match="d:acknowledgements/d:title|d:acknowledgements/d:info/d:title" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.title">
    <xsl:with-param name="node" select="ancestor::d:acknowledgements[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:acknowledgements/d:subtitle|d:acknowledgements/d:info/d:subtitletitlepage.mode
Namespace No namespace
Match d:acknowledgements/d:subtitle|d:acknowledgements/d:info/d:subtitle
Mode titlepage.mode
References
Import precedence 0
Priority 2
Source
<xsl:template match="d:acknowledgements/d:subtitle|d:acknowledgements/d:info/d:subtitle" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.subtitle">
    <xsl:with-param name="node" select="ancestor::d:acknowledgements[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:acknowledgements
Namespace No namespace
Match d:acknowledgements
Mode #default
Import precedence 0
Source
<xsl:template match="d:acknowledgements"/>
Template d:acknowledgements/d:title
Documentation

Description

 see mode="acknowledgements" 
Namespace No namespace
Match d:acknowledgements/d:title
Mode #default
Import precedence 0
Source
<xsl:template match="d:acknowledgements/d:title"/>
Template d:acknowledgements/d:subtitle
Namespace No namespace
Match d:acknowledgements/d:subtitle
Mode #default
Import precedence 0
Source
<xsl:template match="d:acknowledgements/d:subtitle"/>
Template d:acknowledgements/d:titleabbrev
Namespace No namespace
Match d:acknowledgements/d:titleabbrev
Mode #default
Import precedence 0
Source
<xsl:template match="d:acknowledgements/d:titleabbrev"/>
Template d:colophon
Documentation

Description

 ==================================================================== 
Namespace No namespace
Match d:colophon
Mode #default
References
Import precedence 0
Source
<xsl:template match="d:colophon">
  <xsl:call-template name="id.warning"/>
  <div>
    <xsl:call-template name="common.html.attributes">
      <xsl:with-param name="inherit" select="1"/>
    </xsl:call-template>
    <xsl:if test="$generate.id.attributes != 0">
      <xsl:attribute name="id">
        <xsl:call-template name="object.id"/>
      </xsl:attribute>
    </xsl:if>
    <xsl:call-template name="component.separator"/>
    <xsl:call-template name="component.title"/>
    <xsl:call-template name="component.subtitle"/>
    <xsl:apply-templates/>
    <xsl:call-template name="process.footnotes"/>
  </div>
</xsl:template>
Template d:colophon/d:title
Namespace No namespace
Match d:colophon/d:title
Mode #default
Import precedence 0
Source
<xsl:template match="d:colophon/d:title"/>
Template d:colophon/d:subtitle
Namespace No namespace
Match d:colophon/d:subtitle
Mode #default
Import precedence 0
Source
<xsl:template match="d:colophon/d:subtitle"/>
Template d:colophon/d:titleabbrev
Namespace No namespace
Match d:colophon/d:titleabbrev
Mode #default
Import precedence 0
Source
<xsl:template match="d:colophon/d:titleabbrev"/>
Template d:preface
Documentation

Description

 ==================================================================== 
Namespace No namespace
Match d:preface
Mode #default
References
Import precedence 0
Source
<xsl:template match="d:preface">
  <xsl:call-template name="id.warning"/>
  <div>
    <xsl:call-template name="common.html.attributes">
      <xsl:with-param name="inherit" select="1"/>
    </xsl:call-template>
    <xsl:if test="$generate.id.attributes != 0">
      <xsl:attribute name="id">
        <xsl:call-template name="object.id"/>
      </xsl:attribute>
    </xsl:if>
    <xsl:call-template name="component.separator"/>
    <xsl:call-template name="preface.titlepage"/>
    <xsl:variable name="toc.params">
      <xsl:call-template name="find.path.params">
        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
      </xsl:call-template>
    </xsl:variable>
    <xsl:if test="contains($toc.params, 'toc')">
      <xsl:call-template name="component.toc">
        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
      </xsl:call-template>
      <xsl:call-template name="component.toc.separator"/>
    </xsl:if>
    <xsl:apply-templates/>
    <xsl:call-template name="process.footnotes"/>
  </div>
</xsl:template>
Template d:preface/d:titletitlepage.mode
Namespace No namespace
Match d:preface/d:title
Mode titlepage.mode
References
Template component.title
Import precedence 0
Priority 2
Source
<xsl:template match="d:preface/d:title" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.title">
    <xsl:with-param name="node" select="ancestor::d:preface[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:preface/d:subtitle |d:preface/d:prefaceinfo/d:subtitle |d:preface/d:info/d:subtitle |d:preface/d:docinfo/d:subtitletitlepage.mode
Namespace No namespace
Match d:preface/d:subtitle |d:preface/d:prefaceinfo/d:subtitle |d:preface/d:info/d:subtitle |d:preface/d:docinfo/d:subtitle
Mode titlepage.mode
References
Import precedence 0
Priority 2
Source
<xsl:template match="d:preface/d:subtitle                      |d:preface/d:prefaceinfo/d:subtitle                      |d:preface/d:info/d:subtitle                      |d:preface/d:docinfo/d:subtitle" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.subtitle">
    <xsl:with-param name="node" select="ancestor::d:preface[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:preface/d:docinfo|d:prefaceinfo
Namespace No namespace
Match d:preface/d:docinfo|d:prefaceinfo
Mode #default
Import precedence 0
Source
<xsl:template match="d:preface/d:docinfo|d:prefaceinfo"/>
Template d:preface/d:info
Namespace No namespace
Match d:preface/d:info
Mode #default
Import precedence 0
Source
<xsl:template match="d:preface/d:info"/>
Template d:preface/d:title
Namespace No namespace
Match d:preface/d:title
Mode #default
Import precedence 0
Source
<xsl:template match="d:preface/d:title"/>
Template d:preface/d:titleabbrev
Namespace No namespace
Match d:preface/d:titleabbrev
Mode #default
Import precedence 0
Source
<xsl:template match="d:preface/d:titleabbrev"/>
Template d:preface/d:subtitle
Namespace No namespace
Match d:preface/d:subtitle
Mode #default
Import precedence 0
Source
<xsl:template match="d:preface/d:subtitle"/>
Template d:chapter
Documentation

Description

 ==================================================================== 
Namespace No namespace
Match d:chapter
Mode #default
References
Import precedence 0
Source
<xsl:template match="d:chapter">
  <xsl:call-template name="id.warning"/>
  <div>
    <xsl:call-template name="common.html.attributes">
      <xsl:with-param name="inherit" select="1"/>
    </xsl:call-template>
    <xsl:if test="$generate.id.attributes != 0">
      <xsl:attribute name="id">
        <xsl:call-template name="object.id"/>
      </xsl:attribute>
    </xsl:if>
    <xsl:call-template name="component.separator"/>
    <xsl:call-template name="chapter.titlepage"/>
    <xsl:variable name="toc.params">
      <xsl:call-template name="find.path.params">
        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
      </xsl:call-template>
    </xsl:variable>
    <xsl:if test="contains($toc.params, 'toc')">
      <xsl:call-template name="component.toc">
        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
      </xsl:call-template>
      <xsl:call-template name="component.toc.separator"/>
    </xsl:if>
    <xsl:apply-templates/>
    <xsl:call-template name="process.footnotes"/>
  </div>
</xsl:template>
Template d:chapter/d:title|d:chapter/d:chapterinfo/d:titletitlepage.mode
Namespace No namespace
Match d:chapter/d:title|d:chapter/d:chapterinfo/d:title
Mode titlepage.mode
References
Template component.title
Import precedence 0
Priority 2
Source
<xsl:template match="d:chapter/d:title|d:chapter/d:chapterinfo/d:title" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.title">
    <xsl:with-param name="node" select="ancestor::d:chapter[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:chapter/d:subtitle |d:chapter/d:chapterinfo/d:subtitle |d:chapter/d:info/d:subtitle |d:chapter/d:docinfo/d:subtitletitlepage.mode
Namespace No namespace
Match d:chapter/d:subtitle |d:chapter/d:chapterinfo/d:subtitle |d:chapter/d:info/d:subtitle |d:chapter/d:docinfo/d:subtitle
Mode titlepage.mode
References
Import precedence 0
Priority 2
Source
<xsl:template match="d:chapter/d:subtitle                      |d:chapter/d:chapterinfo/d:subtitle                      |d:chapter/d:info/d:subtitle                      |d:chapter/d:docinfo/d:subtitle" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.subtitle">
    <xsl:with-param name="node" select="ancestor::d:chapter[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:chapter/d:docinfo|d:chapterinfo
Namespace No namespace
Match d:chapter/d:docinfo|d:chapterinfo
Mode #default
Import precedence 0
Source
<xsl:template match="d:chapter/d:docinfo|d:chapterinfo"/>
Template d:chapter/d:info
Namespace No namespace
Match d:chapter/d:info
Mode #default
Import precedence 0
Source
<xsl:template match="d:chapter/d:info"/>
Template d:chapter/d:title
Namespace No namespace
Match d:chapter/d:title
Mode #default
Import precedence 0
Source
<xsl:template match="d:chapter/d:title"/>
Template d:chapter/d:titleabbrev
Namespace No namespace
Match d:chapter/d:titleabbrev
Mode #default
Import precedence 0
Source
<xsl:template match="d:chapter/d:titleabbrev"/>
Template d:chapter/d:subtitle
Namespace No namespace
Match d:chapter/d:subtitle
Mode #default
Import precedence 0
Source
<xsl:template match="d:chapter/d:subtitle"/>
Template d:appendix
Documentation

Description

 ==================================================================== 
Namespace No namespace
Match d:appendix
Mode #default
References
Import precedence 0
Source
<xsl:template match="d:appendix">
  <xsl:variable name="ischunk">
    <xsl:call-template name="chunk"/>
  </xsl:variable>
  <xsl:call-template name="id.warning"/>
  <div>
    <xsl:call-template name="common.html.attributes">
      <xsl:with-param name="inherit" select="1"/>
    </xsl:call-template>
    <xsl:if test="$generate.id.attributes != 0">
      <xsl:attribute name="id">
        <xsl:call-template name="object.id"/>
      </xsl:attribute>
    </xsl:if>
    <xsl:choose>
      <xsl:when test="parent::d:article and $ischunk = 0">
        <xsl:call-template name="section.heading">
          <xsl:with-param name="level" select="1"/>
          <xsl:with-param name="title">
            <xsl:apply-templates select="." mode="object.title.markup"/>
          </xsl:with-param>
        </xsl:call-template>
      </xsl:when>
      <xsl:otherwise>
        <xsl:call-template name="component.separator"/>
        <xsl:call-template name="appendix.titlepage"/>
      </xsl:otherwise>
    </xsl:choose>
    <xsl:variable name="toc.params">
      <xsl:call-template name="find.path.params">
        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
      </xsl:call-template>
    </xsl:variable>
    <xsl:if test="contains($toc.params, 'toc')">
      <xsl:call-template name="component.toc">
        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
      </xsl:call-template>
      <xsl:call-template name="component.toc.separator"/>
    </xsl:if>
    <xsl:apply-templates/>
    <xsl:if test="not(parent::d:article) or $ischunk != 0">
      <xsl:call-template name="process.footnotes"/>
    </xsl:if>
  </div>
</xsl:template>
Template d:appendix/d:title|d:appendix/d:appendixinfo/d:titletitlepage.mode
Namespace No namespace
Match d:appendix/d:title|d:appendix/d:appendixinfo/d:title
Mode titlepage.mode
References
Template component.title
Import precedence 0
Priority 2
Source
<xsl:template match="d:appendix/d:title|d:appendix/d:appendixinfo/d:title" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.title">
    <xsl:with-param name="node" select="ancestor::d:appendix[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:appendix/d:subtitle |d:appendix/d:appendixinfo/d:subtitle |d:appendix/d:info/d:subtitle |d:appendix/d:docinfo/d:subtitletitlepage.mode
Namespace No namespace
Match d:appendix/d:subtitle |d:appendix/d:appendixinfo/d:subtitle |d:appendix/d:info/d:subtitle |d:appendix/d:docinfo/d:subtitle
Mode titlepage.mode
References
Import precedence 0
Priority 2
Source
<xsl:template match="d:appendix/d:subtitle                      |d:appendix/d:appendixinfo/d:subtitle                      |d:appendix/d:info/d:subtitle                      |d:appendix/d:docinfo/d:subtitle" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.subtitle">
    <xsl:with-param name="node" select="ancestor::d:appendix[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:appendix/d:docinfo|d:appendixinfo
Namespace No namespace
Match d:appendix/d:docinfo|d:appendixinfo
Mode #default
Import precedence 0
Source
<xsl:template match="d:appendix/d:docinfo|d:appendixinfo"/>
Template d:appendix/d:info
Namespace No namespace
Match d:appendix/d:info
Mode #default
Import precedence 0
Source
<xsl:template match="d:appendix/d:info"/>
Template d:appendix/d:title
Namespace No namespace
Match d:appendix/d:title
Mode #default
Import precedence 0
Source
<xsl:template match="d:appendix/d:title"/>
Template d:appendix/d:titleabbrev
Namespace No namespace
Match d:appendix/d:titleabbrev
Mode #default
Import precedence 0
Source
<xsl:template match="d:appendix/d:titleabbrev"/>
Template d:appendix/d:subtitle
Namespace No namespace
Match d:appendix/d:subtitle
Mode #default
Import precedence 0
Source
<xsl:template match="d:appendix/d:subtitle"/>
Template d:article
Documentation

Description

 ==================================================================== 
Namespace No namespace
Match d:article
Mode #default
References
Import precedence 0
Source
<xsl:template match="d:article">
  <xsl:call-template name="id.warning"/>
  <div>
    <xsl:call-template name="common.html.attributes">
      <xsl:with-param name="inherit" select="1"/>
    </xsl:call-template>
    <xsl:if test="$generate.id.attributes != 0">
      <xsl:attribute name="id">
        <xsl:call-template name="object.id"/>
      </xsl:attribute>
    </xsl:if>
    <xsl:call-template name="article.titlepage"/>
    <xsl:variable name="toc.params">
      <xsl:call-template name="find.path.params">
        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
      </xsl:call-template>
    </xsl:variable>
    <xsl:call-template name="make.lots">
      <xsl:with-param name="toc.params" select="$toc.params"/>
      <xsl:with-param name="toc">
        <xsl:call-template name="component.toc">
          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
        </xsl:call-template>
      </xsl:with-param>
    </xsl:call-template>
    <xsl:apply-templates/>
    <xsl:call-template name="process.footnotes"/>
  </div>
</xsl:template>
Template d:article/d:title|d:article/d:articleinfo/d:titletitlepage.mode
Namespace No namespace
Match d:article/d:title|d:article/d:articleinfo/d:title
Mode titlepage.mode
References
Template component.title
Import precedence 0
Priority 2
Source
<xsl:template match="d:article/d:title|d:article/d:articleinfo/d:title" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.title">
    <xsl:with-param name="node" select="ancestor::d:article[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:article/d:subtitle |d:article/d:articleinfo/d:subtitle |d:article/d:info/d:subtitle |d:article/d:artheader/d:subtitletitlepage.mode
Namespace No namespace
Match d:article/d:subtitle |d:article/d:articleinfo/d:subtitle |d:article/d:info/d:subtitle |d:article/d:artheader/d:subtitle
Mode titlepage.mode
References
Import precedence 0
Priority 2
Source
<xsl:template match="d:article/d:subtitle                      |d:article/d:articleinfo/d:subtitle                      |d:article/d:info/d:subtitle                      |d:article/d:artheader/d:subtitle" mode="titlepage.mode" priority="2">
  <xsl:call-template name="component.subtitle">
    <xsl:with-param name="node" select="ancestor::d:article[1]"/>
  </xsl:call-template>
</xsl:template>
Template d:article/d:artheader|d:article/d:articleinfo
Namespace No namespace
Match d:article/d:artheader|d:article/d:articleinfo
Mode #default
Import precedence 0
Source
<xsl:template match="d:article/d:artheader|d:article/d:articleinfo"/>
Template d:article/d:info
Namespace No namespace
Match d:article/d:info
Mode #default
Import precedence 0
Source
<xsl:template match="d:article/d:info"/>
Template d:article/d:title
Namespace No namespace
Match d:article/d:title
Mode #default
Import precedence 0
Source
<xsl:template match="d:article/d:title"/>
Template d:article/d:titleabbrev
Namespace No namespace
Match d:article/d:titleabbrev
Mode #default
Import precedence 0
Source
<xsl:template match="d:article/d:titleabbrev"/>
Template d:article/d:subtitle
Namespace No namespace
Match d:article/d:subtitle
Mode #default
Import precedence 0
Source
<xsl:template match="d:article/d:subtitle"/>