Showing:

Documentation
Parameters
Used by
References
Supersedes
Imported modules
Source
Main stylesheet to.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 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: to.xsl 9669 2011-11-07 19:17:54Z rahtz $

Copyright: 2008, TEI Consortium

Imported modules
Stylesheet version 2.0
Template msSection
Documentation

Description

  
Namespace No namespace
Used by
Supersedes
Template msSection
Parameters
QName Namespace
heading No namespace
implicitBlock No namespace
level No namespace
Import precedence 5
Source
<xsl:template name="msSection">
  <xsl:param name="level"/>
  <xsl:param name="heading"/>
  <xsl:param name="implicitBlock">false</xsl:param>
  <xsl:element name="h{$level}">
    <xsl:value-of select="$heading"/>
  </xsl:element>
  <xsl:choose>
    <xsl:when test="$implicitBlock='true'">
      <p>
        <xsl:apply-templates/>
      </p>
    </xsl:when>
    <xsl:when test="*">
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:otherwise>
      <p>
        <xsl:apply-templates/>
      </p>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location to.xsl
Template msLabelled
Namespace No namespace
Used by
Supersedes
Template msLabelled
Parameters
QName Namespace
before No namespace
Import precedence 5
Source
<xsl:template name="msLabelled">
  <xsl:param name="before"/>
  <i>
    <xsl:value-of select="$before"/>
  </i>
  <xsl:text>: </xsl:text>
  <xsl:value-of select="normalize-space(.)"/>
</xsl:template>
Stylesheet location to.xsl
Template msInline
Namespace No namespace
Used by
Supersedes
Template msInline
Parameters
QName Namespace
after No namespace
before No namespace
style No namespace
Import precedence 5
Source
<xsl:template name="msInline">
  <xsl:param name="before"/>
  <xsl:param name="after"/>
  <xsl:param name="style"/>
  <span class="{local-name()}">
    <xsl:value-of select="$before"/>
    <xsl:choose>
      <xsl:when test="$style='italic'">
        <i>
          <xsl:value-of select="normalize-space(.)"/>
        </i>
      </xsl:when>
      <xsl:when test="$style='bold'">
        <b>
          <xsl:value-of select="normalize-space(.)"/>
        </b>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="normalize-space(.)"/>
      </xsl:otherwise>
    </xsl:choose>
    <xsl:value-of select="$after"/>
  </span>
</xsl:template>
Stylesheet location to.xsl
Template msBlock
Namespace No namespace
Used by
Supersedes
Template msBlock
Parameters
QName Namespace
style No namespace
Import precedence 5
Source
<xsl:template name="msBlock">
  <xsl:param name="style"/>
  <div class="{$style}">
    <xsl:apply-templates/>
  </div>
</xsl:template>
Stylesheet location to.xsl
Template tei:body
Namespace No namespace
Match tei:body
Mode #default
Import precedence 5
Source
<xsl:template match="tei:body">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location to.xsl
Template tei:teiHeader
Namespace No namespace
Match tei:teiHeader
Mode #default
References
Template pageLayoutSimple
Supersedes
Template tei:teiHeader
Import precedence 5
Source
<xsl:template match="tei:teiHeader">
  <xsl:call-template name="pageLayoutSimple"/>
</xsl:template>
Stylesheet location to.xsl
Template bodyHook
Namespace No namespace
Used by
Supersedes
Template bodyHook
Import precedence 5
Source
<xsl:template name="bodyHook">
  <xsl:apply-templates select="//tei:teiHeader/tei:fileDesc/tei:sourceDesc/tei:msDesc"/>
</xsl:template>
Stylesheet location to.xsl
Template tei:choice
Documentation

Description

 <xsl:param name="cssFile">tei.css</xsl:param>
Namespace No namespace
Match tei:choice
Mode #default
Supersedes
Template tei:choice
Import precedence 5
Source
<xsl:template match="tei:choice">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location to.xsl
Parameter cssSecondaryFile
Namespace No namespace
Used by
Template includeCSS
Supersedes
Parameter cssSecondaryFile
Source
<xsl:param name="cssSecondaryFile">http://tei.oucs.ox.ac.uk/ENRICH/msdescription.css</xsl:param>
Stylesheet location to.xsl
Output (default)
Namespace No namespace
Output properties
encoding indent
no
Source
<xsl:output indent="no"/>
Stylesheet location to.xsl