Mode:

Compact lists

Showing:

Documentation
Used by
References
Supersedes
Included from
Source
Stylesheet html_transcr.xsl
Documentation

Description

TEI stylesheet dealing with elements from the transcr module, making HTML 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 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

Copyright: 2013, TEI Consortium

Included from
Stylesheet version 3.0
Template tei:sourceDoc
Documentation

Description

[html] processing source doc
Namespace No namespace
Match tei:sourceDoc
Mode #default
Supersedes
Template
Import precedence 14
Source
<xsl:template match="tei:sourceDoc">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location html_transcr.xsl
Template tei:surfaceGrp
Documentation

Description

[html] lines, surfaces and zones in transcription just turn into divs
Namespace No namespace
Match tei:surfaceGrp
Mode #default
References
Template
Import precedence 14
Source
<xsl:template match="tei:surfaceGrp">
  <div>
    <xsl:call-template name="makeRendition"/>
    <xsl:apply-templates/>
  </div>
</xsl:template>
Stylesheet location html_transcr.xsl
Template tei:surface
Namespace No namespace
Match tei:surface
Mode #default
References
Import precedence 14
Source
<xsl:template match="tei:surface">
  <div>
    <xsl:call-template name="makeRendition"/>
    <xsl:call-template name="checkfacs"/>
    <xsl:apply-templates select="text()|*[not(self::tei:graphic)]"/>
  </div>
</xsl:template>
Stylesheet location html_transcr.xsl
Template tei:zone
Namespace No namespace
Match tei:zone
Mode #default
References
Import precedence 14
Source
<xsl:template match="tei:zone">
  <div>
    <xsl:call-template name="makeRendition"/>
    <xsl:call-template name="checkfacs"/>
    <xsl:apply-templates select="text()|*[not(self::tei:graphic)]"/>
  </div>
</xsl:template>
Stylesheet location html_transcr.xsl
Template tei:line
Namespace No namespace
Match tei:line
Mode #default
References
Import precedence 14
Source
<xsl:template match="tei:line">
  <div>
    <xsl:call-template name="makeRendition"/>
    <xsl:call-template name="checkfacs"/>
    <xsl:apply-templates select="text()|*[not(self::tei:graphic)]"/>
  </div>
</xsl:template>
Stylesheet location html_transcr.xsl
Template checkfacs
Namespace No namespace
Used by
Import precedence 14
Source
<xsl:template name="checkfacs">
  <xsl:choose>
    <xsl:when test="starts-with(@facs,'unknown:')"/>
    <xsl:when test="@facs">
      <div class="facsimage">
        <img src="{@facs}"/>
      </div>
    </xsl:when>
    <xsl:when test="tei:graphic">
      <div class="facsimage">
        <!-- avoid URLs without a file suffix, likely to be dodgy -->
        <xsl:for-each select="tei:graphic[matches(@url,'.*\.[a-z]+$')][1]">
          <xsl:apply-templates select="."/>
        </xsl:for-each>
      </div>
    </xsl:when>
  </xsl:choose>
</xsl:template>
Stylesheet location html_transcr.xsl
Template tei:damage
Namespace No namespace
Match tei:damage
Mode #default
Import precedence 14
Source
<xsl:template match="tei:damage">
  <span class="damage">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location html_transcr.xsl
Template tei:ex
Namespace No namespace
Match tei:ex
Mode #default
Import precedence 14
Source
<xsl:template match="tei:ex">
  <span class="ex">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location html_transcr.xsl
Template tei:surfaceGrp/tei:desc
Namespace No namespace
Match tei:surfaceGrp/tei:desc
Mode #default
Import precedence 14
Source
<xsl:template match="tei:surfaceGrp/tei:desc"/>
Stylesheet location html_transcr.xsl
Template tei:surface/tei:desc
Namespace No namespace
Match tei:surface/tei:desc
Mode #default
Import precedence 14
Source
<xsl:template match="tei:surface/tei:desc"/>
Stylesheet location html_transcr.xsl
Template tei:zone/tei:desc
Namespace No namespace
Match tei:zone/tei:desc
Mode #default
Import precedence 14
Source
<xsl:template match="tei:zone/tei:desc"/>
Stylesheet location html_transcr.xsl