Mode:

Compact lists

Showing:

Documentation
Used by
References
Imported from
Source
Stylesheet docbooktotei.xsl
Documentation

Description

This software is dual-licensed: 1. Distributed under a Creative Commons Attribution-ShareAlike 3.0 Unported License http://creativecommons.org/licenses/by-sa/3.0/ 2. http://www.opensource.org/licenses/BSD-2-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Author: Sebastian Rahtz

Id: $Id: from.xsl 10017 2012-01-10 14:45:54Z rahtz $

Copyright: 2013, TEI Consortium

Imported from
Stylesheet version 3.0
Template /
Namespace No namespace
Match /
Mode #default
Import precedence 0
Source
<xsl:template match="/">
  <xsl:choose>
    <xsl:when test="*[namespace-uri()='http://docbook.org/ns/docbook']">
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:variable name="db5">
        <xsl:apply-templates mode="convert"/>
      </xsl:variable>
      <xsl:apply-templates select="$db5/*"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template @*|text()|comment()convert
Namespace No namespace
Match @*|text()|comment()
Mode convert
Import precedence 0
Source
<xsl:template match="@*|text()|comment()" mode="convert">
  <xsl:copy-of select="."/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template *convert
Namespace No namespace
Match *
Mode convert
Import precedence 0
Source
<xsl:template match="*" mode="convert">
  <xsl:element name="{name()}" namespace="http://docbook.org/ns/docbook">
    <xsl:apply-templates select="@*|text()|*|comment()" mode="convert"/>
  </xsl:element>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template abbrev
Namespace No namespace
Match abbrev
Mode #default
Import precedence 0
Source
<xsl:template match="abbrev">
  <abbr>
    <xsl:apply-templates/>
  </abbr>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template abstract
Namespace No namespace
Match abstract
Mode #default
References
Template
Import precedence 0
Source
<xsl:template match="abstract">
  <div type="abstract">
    <xsl:call-template name="ID"/>
    <xsl:apply-templates/>
  </div>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template ackno
Namespace No namespace
Match ackno
Mode #default
Import precedence 0
Source
<xsl:template match="ackno">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template acronym
Namespace No namespace
Match acronym
Mode #default
Import precedence 0
Source
<xsl:template match="acronym">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template address
Namespace No namespace
Match address
Mode #default
Import precedence 0
Source
<xsl:template match="address">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template affiliation
Namespace No namespace
Match affiliation
Mode #default
Import precedence 0
Source
<xsl:template match="affiliation">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template anchor
Namespace No namespace
Match anchor
Mode #default
References
Template
Import precedence 0
Source
<xsl:template match="anchor">
  <anchor>
    <xsl:call-template name="ID"/>
  </anchor>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template appendix
Namespace No namespace
Match appendix
Mode #default
Import precedence 0
Source
<xsl:template match="appendix">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template application
Namespace No namespace
Match application
Mode #default
Import precedence 0
Source
<xsl:template match="application">
  <ident type="application">
    <xsl:apply-templates/>
  </ident>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template info|artheader|articleinfo
Namespace No namespace
Match info|artheader|articleinfo
Mode #default
Import precedence 0
Source
<xsl:template match="info|artheader|articleinfo"/>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template info|artheader|articleinfoheader
Namespace No namespace
Match info|artheader|articleinfo
Mode header
References
Function
Import precedence 0
Source
<xsl:template match="info|artheader|articleinfo" mode="header">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <xsl:apply-templates select="title"/>
        <author>
          <xsl:choose>
            <xsl:when test="author">
              <xsl:apply-templates select="author"/>
            </xsl:when>
            <xsl:otherwise>
              <xsl:text>unknown author</xsl:text>
            </xsl:otherwise>
          </xsl:choose>
        </author>
      </titleStmt>
      <editionStmt>
        <edition>
          <date>
            <xsl:choose>
              <xsl:when test="pubdate">
                <xsl:apply-templates select="pubdate"/>
              </xsl:when>
              <xsl:otherwise>
                <xsl:sequence select="tei:whatsTheDate()"/>
              </xsl:otherwise>
            </xsl:choose>
          </date>
        </edition>
      </editionStmt>
      <publicationStmt>
        <p/>
      </publicationStmt>
      <sourceDesc>
        <p>Converted from a Docbook original</p>
      </sourceDesc>
    </fileDesc>
    <xsl:if test="keywordset">
      <profileDesc>
        <textClass>
          <xsl:apply-templates select="keywordset"/>
        </textClass>
      </profileDesc>
    </xsl:if>
  </teiHeader>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template article|book
Namespace No namespace
Match article|book
Mode #default
References
Template
Import precedence 0
Source
<xsl:template match="article|book">
  <TEI>
    <xsl:call-template name="ID"/>
    <xsl:apply-templates select="info|artheader|articleinfo" mode="header"/>
    <text>
      <xsl:choose>
        <xsl:when test="artheader/abstract">
          <front>
            <xsl:apply-templates select="artheader/abstract"/>
          </front>
        </xsl:when>
        <xsl:when test="articleinfo/abstract">
          <front>
            <xsl:apply-templates select="articleinfo/abstract"/>
          </front>
        </xsl:when>
        <xsl:otherwise>
        </xsl:otherwise>
      </xsl:choose>
      <body>
        <xsl:apply-templates/>
      </body>
    </text>
  </TEI>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template attribution
Namespace No namespace
Match attribution
Mode #default
Import precedence 0
Source
<xsl:template match="attribution">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template author
Namespace No namespace
Match author
Mode #default
Import precedence 0
Source
<xsl:template match="author">
  <name>
    <xsl:choose>
      <xsl:when test="surname">
        <persName>
          <xsl:apply-templates/>
        </persName>
      </xsl:when>
      <xsl:otherwise>
        <xsl:apply-templates/>
      </xsl:otherwise>
    </xsl:choose>
  </name>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template authorblurb
Namespace No namespace
Match authorblurb
Mode #default
Import precedence 0
Source
<xsl:template match="authorblurb">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template authorgroup
Namespace No namespace
Match authorgroup
Mode #default
Import precedence 0
Source
<xsl:template match="authorgroup">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template bibliodiv
Namespace No namespace
Match bibliodiv
Mode #default
Import precedence 0
Source
<xsl:template match="bibliodiv">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template bibliography
Namespace No namespace
Match bibliography
Mode #default
Import precedence 0
Source
<xsl:template match="bibliography">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template bibliomisc
Namespace No namespace
Match bibliomisc
Mode #default
Import precedence 0
Source
<xsl:template match="bibliomisc">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template bibliomixed
Namespace No namespace
Match bibliomixed
Mode #default
Import precedence 0
Source
<xsl:template match="bibliomixed">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template blockquote
Namespace No namespace
Match blockquote
Mode #default
Import precedence 0
Source
<xsl:template match="blockquote">
  <q>
    <xsl:apply-templates/>
  </q>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template chapter
Namespace No namespace
Match chapter
Mode #default
References
Template
Import precedence 0
Source
<xsl:template match="chapter">
  <div>
    <xsl:call-template name="ID"/>
    <xsl:apply-templates/>
  </div>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template citation
Namespace No namespace
Match citation
Mode #default
Import precedence 0
Source
<xsl:template match="citation">
  <cit>
    <xsl:apply-templates/>
  </cit>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template computeroutput
Namespace No namespace
Match computeroutput
Mode #default
Import precedence 0
Source
<xsl:template match="computeroutput">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template copyright
Namespace No namespace
Match copyright
Mode #default
Import precedence 0
Source
<xsl:template match="copyright">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template email
Namespace No namespace
Match email
Mode #default
Import precedence 0
Source
<xsl:template match="email">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template emphasis
Namespace No namespace
Match emphasis
Mode #default
References
Template
Import precedence 0
Source
<xsl:template match="emphasis">
  <xsl:choose>
    <xsl:when test="@role='strong'">
      <hi>
        <xsl:apply-templates/>
      </hi>
    </xsl:when>
    <xsl:otherwise>
      <hi>
        <xsl:call-template name="Role"/>
        <xsl:apply-templates/>
      </hi>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template entry
Namespace No namespace
Match entry
Mode #default
Import precedence 0
Source
<xsl:template match="entry">
  <cell>
    <xsl:apply-templates/>
  </cell>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template example
Namespace No namespace
Match example
Mode #default
Import precedence 0
Source
<xsl:template match="example">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template figure
Namespace No namespace
Match figure
Mode #default
Import precedence 0
Source
<xsl:template match="figure">
  <figure>
    <xsl:apply-templates/>
    <figDesc/>
  </figure>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template foreignphrase
Namespace No namespace
Match foreignphrase
Mode #default
Import precedence 0
Source
<xsl:template match="foreignphrase">
  <foreign>
    <xsl:apply-templates/>
  </foreign>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template imageobject
Namespace No namespace
Match imageobject
Mode #default
Import precedence 0
Source
<xsl:template match="imageobject">
  <graphic url="{imagedata/@fileref}"/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template imagedata
Namespace No namespace
Match imagedata
Mode #default
Import precedence 0
Source
<xsl:template match="imagedata">
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template inlinemediaobject|mediaobject
Namespace No namespace
Match inlinemediaobject|mediaobject
Mode #default
Import precedence 0
Source
<xsl:template match="inlinemediaobject|mediaobject">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template issuenum
Namespace No namespace
Match issuenum
Mode #default
Import precedence 0
Source
<xsl:template match="issuenum">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template itemizedlist
Namespace No namespace
Match itemizedlist
Mode #default
Import precedence 0
Source
<xsl:template match="itemizedlist">
  <list type="unordered">
    <xsl:apply-templates/>
  </list>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template keyword
Namespace No namespace
Match keyword
Mode #default
References
Template
Import precedence 0
Source
<xsl:template match="keyword">
  <term>
    <xsl:call-template name="Lang"/>
    <xsl:apply-templates/>
  </term>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template keywordset
Namespace No namespace
Match keywordset
Mode #default
Import precedence 0
Source
<xsl:template match="keywordset">
  <keywords scheme="adhoc">
    <xsl:apply-templates/>
  </keywords>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template link
Namespace No namespace
Match link
Mode #default
Import precedence 0
Source
Stylesheet location ../../../docbook/docbooktotei.xsl
Template listitem
Namespace No namespace
Match listitem
Mode #default
Import precedence 0
Source
<xsl:template match="listitem">
  <item>
    <xsl:apply-templates/>
  </item>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template literal
Namespace No namespace
Match literal
Mode #default
Import precedence 0
Source
<xsl:template match="literal">
  <code rend="{@role}">
    <xsl:apply-templates/>
  </code>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template literallayout
Namespace No namespace
Match literallayout
Mode #default
Import precedence 0
Source
<xsl:template match="literallayout">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template note
Namespace No namespace
Match note
Mode #default
Import precedence 0
Source
<xsl:template match="note">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template orderedlist
Namespace No namespace
Match orderedlist
Mode #default
Import precedence 0
Source
<xsl:template match="orderedlist">
  <list type="ordered">
    <xsl:apply-templates/>
  </list>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template orgname
Namespace No namespace
Match orgname
Mode #default
Import precedence 0
Source
<xsl:template match="orgname">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template othercredit
Namespace No namespace
Match othercredit
Mode #default
Import precedence 0
Source
<xsl:template match="othercredit">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template para
Namespace No namespace
Match para
Mode #default
Import precedence 0
Source
<xsl:template match="para">
  <xsl:choose>
    <xsl:when test="normalize-space(.)=''"/>
    <xsl:when test="parent::listitem and count(../para)=1">
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:when test="parent::footnote and count(../para)=1">
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:otherwise>
      <p>
        <xsl:apply-templates/>
      </p>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template productname
Namespace No namespace
Match productname
Mode #default
Import precedence 0
Source
<xsl:template match="productname">
  <ident rend="productname">
    <xsl:apply-templates/>
  </ident>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template pubdate
Namespace No namespace
Match pubdate
Mode #default
Import precedence 0
Source
<xsl:template match="pubdate">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template quote
Namespace No namespace
Match quote
Mode #default
Import precedence 0
Source
<xsl:template match="quote">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template row
Namespace No namespace
Match row
Mode #default
Import precedence 0
Source
<xsl:template match="row">
  <row>
    <xsl:if test="ancestor::thead">
      <xsl:attribute name="role">label</xsl:attribute>
    </xsl:if>
    <xsl:apply-templates/>
  </row>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template screen
Namespace No namespace
Match screen
Mode #default
Import precedence 0
Source
<xsl:template match="screen">
  <eg>
    <xsl:apply-templates/>
  </eg>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template section|sect1|sect2|sect3|sect4
Namespace No namespace
Match section|sect1|sect2|sect3|sect4
Mode #default
References
Template
Import precedence 0
Source
<xsl:template match="section|sect1|sect2|sect3|sect4">
  <xsl:variable name="gi">
    <xsl:choose>
      <xsl:when test="local-name(.)='section'">div</xsl:when>
      <xsl:otherwise>
        <xsl:text>div</xsl:text>
        <xsl:value-of select="substring-after(local-name(.),'sect')"/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:variable>
  <xsl:element name="{$gi}">
    <xsl:call-template name="ID"/>
    <xsl:apply-templates/>
  </xsl:element>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template surname
Namespace No namespace
Match surname
Mode #default
Import precedence 0
Source
<xsl:template match="surname">
  <surname>
    <xsl:apply-templates/>
  </surname>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template symbol
Namespace No namespace
Match symbol
Mode #default
Import precedence 0
Source
<xsl:template match="symbol">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template table
Namespace No namespace
Match table
Mode #default
Import precedence 0
Source
<xsl:template match="table">
  <table>
    <xsl:apply-templates/>
  </table>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template tbody
Namespace No namespace
Match tbody
Mode #default
Import precedence 0
Source
<xsl:template match="tbody">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template tgroup
Namespace No namespace
Match tgroup
Mode #default
Import precedence 0
Source
<xsl:template match="tgroup">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template title
Namespace No namespace
Match title
Mode #default
Import precedence 0
Source
<xsl:template match="title">
  <xsl:choose>
    <xsl:when test="parent::articleinfo">
      <title>
        <xsl:apply-templates/>
      </title>
    </xsl:when>
    <xsl:otherwise>
      <head>
        <xsl:apply-templates/>
      </head>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template artheader/title
Namespace No namespace
Match artheader/title
Mode #default
References
Template
Import precedence 0
Source
<xsl:template match="artheader/title">
  <title>
    <xsl:call-template name="Lang"/>
    <xsl:apply-templates/>
  </title>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template toc
Namespace No namespace
Match toc
Mode #default
Import precedence 0
Source
<xsl:template match="toc"/>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template tocentry
Namespace No namespace
Match tocentry
Mode #default
Import precedence 0
Source
<xsl:template match="tocentry">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template token
Namespace No namespace
Match token
Mode #default
Import precedence 0
Source
<xsl:template match="token">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template ulink
Namespace No namespace
Match ulink
Mode #default
Import precedence 0
Source
Stylesheet location ../../../docbook/docbooktotei.xsl
Template userinput
Namespace No namespace
Match userinput
Mode #default
Import precedence 0
Source
<xsl:template match="userinput">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template volumenum
Namespace No namespace
Match volumenum
Mode #default
Import precedence 0
Source
<xsl:template match="volumenum">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template warning
Namespace No namespace
Match warning
Mode #default
Import precedence 0
Source
<xsl:template match="warning">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template wordasword
Namespace No namespace
Match wordasword
Mode #default
Import precedence 0
Source
<xsl:template match="wordasword">
  <w>
    <xsl:apply-templates/>
  </w>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template xref
Namespace No namespace
Match xref
Mode #default
Import precedence 0
Source
<xsl:template match="xref">
  <ptr target="#{@linkend}" type="{@role}"/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template programlisting
Namespace No namespace
Match programlisting
Mode #default
Import precedence 0
Source
<xsl:template match="programlisting">
  <eg>
    <xsl:apply-templates/>
  </eg>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template firstname
Namespace No namespace
Match firstname
Mode #default
Import precedence 0
Source
<xsl:template match="firstname">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template jobtitle
Namespace No namespace
Match jobtitle
Mode #default
Import precedence 0
Source
<xsl:template match="jobtitle">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template orgdiv
Namespace No namespace
Match orgdiv
Mode #default
Import precedence 0
Source
<xsl:template match="orgdiv">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template simpara
Namespace No namespace
Match simpara
Mode #default
Import precedence 0
Source
<xsl:template match="simpara">
  <xsl:choose>
    <xsl:when test="following-sibling::simpara or       preceding-sibling::simpara">
      <p>
        <xsl:apply-templates/>
      </p>
    </xsl:when>
    <xsl:otherwise>
      <xsl:apply-templates/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template term
Namespace No namespace
Match term
Mode #default
Import precedence 0
Source
<xsl:template match="term">
  <term>
    <xsl:apply-templates/>
  </term>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template thead
Namespace No namespace
Match thead
Mode #default
Import precedence 0
Source
<xsl:template match="thead">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template variablelist
Namespace No namespace
Match variablelist
Mode #default
Import precedence 0
Source
<xsl:template match="variablelist">
  <list type="gloss">
    <xsl:apply-templates/>
  </list>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template varlistentry
Namespace No namespace
Match varlistentry
Mode #default
Import precedence 0
Source
<xsl:template match="varlistentry">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template varlistentry/term
Namespace No namespace
Match varlistentry/term
Mode #default
Import precedence 0
Source
<xsl:template match="varlistentry/term">
  <label>
    <xsl:apply-templates/>
  </label>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template action
Documentation

Description

 more 
Namespace No namespace
Match action
Mode #default
Import precedence 0
Source
<xsl:template match="action">
  <hi rend="Action">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template command
Namespace No namespace
Match command
Mode #default
Import precedence 0
Source
<xsl:template match="command">
  <hi rend="Command">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template database
Namespace No namespace
Match database
Mode #default
Import precedence 0
Source
<xsl:template match="database">
  <hi rend="Database">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template function
Namespace No namespace
Match function
Mode #default
Import precedence 0
Source
<xsl:template match="function">
  <hi rend="Function">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template guilabel
Namespace No namespace
Match guilabel
Mode #default
Import precedence 0
Source
<xsl:template match="guilabel">
  <hi rend="Label">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template parameter
Namespace No namespace
Match parameter
Mode #default
Import precedence 0
Source
<xsl:template match="parameter">
  <hi rend="Parameter">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template remark
Namespace No namespace
Match remark
Mode #default
Import precedence 0
Source
<xsl:template match="remark">
  <hi rend="Remark">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template trademark
Namespace No namespace
Match trademark
Mode #default
Import precedence 0
Source
<xsl:template match="trademark">
  <xsl:apply-templates/>
  <xsl:text></xsl:text>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template type
Namespace No namespace
Match type
Mode #default
Import precedence 0
Source
<xsl:template match="type">
  <hi rend="Type">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template varname
Namespace No namespace
Match varname
Mode #default
Import precedence 0
Source
<xsl:template match="varname">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template filename
Namespace No namespace
Match filename
Mode #default
Import precedence 0
Source
<xsl:template match="filename">
  <hi rend="FileSpec">
    <xsl:apply-templates/>
  </hi>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template footnote
Namespace No namespace
Match footnote
Mode #default
Import precedence 0
Source
<xsl:template match="footnote">
  <note place="foot">
    <xsl:apply-templates/>
  </note>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template informalexample
Namespace No namespace
Match informalexample
Mode #default
Import precedence 0
Source
<xsl:template match="informalexample">
  <eg>
    <xsl:apply-templates/>
  </eg>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template graphic
Namespace No namespace
Match graphic
Mode #default
Import precedence 0
Source
<xsl:template match="graphic">
  <graphic target="@fileref">
    <xsl:if test="@align">
      <xsl:attribute name="rend" select="@align"/>
    </xsl:if>
  </graphic>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template *
Documentation

Description

 catch all 
Namespace No namespace
Match *
Mode #default
Import precedence 0
Source
<xsl:template match="*">
  <xsl:message>Unknown element
    <xsl:value-of select="name()"/>
  </xsl:message>
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template Role
Documentation

Description

 use general-purpose templates to add standard attributes 
Namespace No namespace
Used by
Template
Import precedence 0
Source
<xsl:template name="Role">
  <xsl:if test="@role">
    <xsl:attribute name="rend">
      <xsl:value-of select="@role"/>
    </xsl:attribute>
  </xsl:if>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template Lang
Namespace No namespace
Used by
Import precedence 0
Source
<xsl:template name="Lang">
  <xsl:if test="@lang">
    <xsl:attribute name="xml:lang">
      <xsl:value-of select="@lang"/>
    </xsl:attribute>
  </xsl:if>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Template ID
Namespace No namespace
Used by
Import precedence 0
Source
<xsl:template name="ID">
  <xsl:if test="@id">
    <xsl:attribute name="xml:id">
      <xsl:value-of select="@id"/>
    </xsl:attribute>
  </xsl:if>
</xsl:template>
Stylesheet location ../../../docbook/docbooktotei.xsl
Variable processor
Namespace No namespace
Source
<xsl:variable name="processor">
  <xsl:value-of select="system-property('xsl:vendor')"/>
</xsl:variable>
Stylesheet location ../../../docbook/docbooktotei.xsl
Function tei:whatsTheDate ()
Namespace http://www.tei-c.org/ns/1.0
Used by
Import precedence 0
Source
<xsl:function name="tei:whatsTheDate">
  <xsl:value-of select="format-dateTime(current-dateTime(),'[Y]-[M02]-[D02]T[H02]:[m02]:[s02]Z')"/>
</xsl:function>
Stylesheet location ../../../docbook/docbooktotei.xsl
Output (default)
Namespace No namespace
Output properties
method encoding indent
utf-8 yes
Source
<xsl:output method="xml" indent="yes" encoding="utf-8"/>
Stylesheet location ../../../docbook/docbooktotei.xsl