Mode:

Compact lists

Showing:

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

Description

TEI stylesheet dealing with elements from the header module, making XSL-FO output.

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 All rights reserved. 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: See AUTHORS

Id: $Id: header.xsl 9646 2011-11-05 23:39:08Z rahtz $

Copyright: 2011, TEI Consortium

Included from
Stylesheet version 2.0
Template tei:docAuthor
Documentation

Description

Namespace No namespace
Match tei:docAuthor
Mode #default
References
Parameter
Import precedence 3
Source
<xsl:template match="tei:docAuthor">
  <block font-size="{$authorSize}">
    <inline font-style="italic">
      <xsl:apply-templates/>
    </inline>
  </block>
</xsl:template>
Stylesheet location header.xsl
Template tei:docDate
Documentation

Description

Namespace No namespace
Match tei:docDate
Mode #default
References
Parameter
Import precedence 3
Source
<xsl:template match="tei:docDate">
  <block font-size="{$dateSize}">
    <xsl:apply-templates/>
  </block>
</xsl:template>
Stylesheet location header.xsl
Template tei:docTitle
Documentation

Description

Namespace No namespace
Match tei:docTitle
Mode #default
References
Parameter
Import precedence 3
Source
<xsl:template match="tei:docTitle">
  <block text-align="left" font-size="{$titleSize}">
    <xsl:if test="ancestor::tei:group/tei:text/tei:front">
      <xsl:attribute name="id">
        <xsl:choose>
          <xsl:when test="ancestor::tei:text[1]/@xml:id">
            <xsl:value-of select="translate(ancestor::tei:text[1]/@xml:id,'_','-')"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="generate-id()"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:attribute>
    </xsl:if>
    <xsl:apply-templates select="tei:titlePart"/>
  </block>
</xsl:template>
Stylesheet location header.xsl
Template tei:teiHeader
Documentation

Description

Ignore the header
Namespace No namespace
Match tei:teiHeader
Mode #default
Import precedence 3
Source
<xsl:template match="tei:teiHeader">
</xsl:template>
Stylesheet location header.xsl
Template textTitle
Documentation

Description

[fo]
Namespace No namespace
Used by
Parameters
QName Namespace
N No namespace
Import precedence 3
Source
<xsl:template name="textTitle">
  <xsl:param name="N"/>
  <xsl:apply-templates select="tei:front"/>
</xsl:template>
Stylesheet location header.xsl