Showing:

Documentation
References
Included from
Source
Stylesheet drama.xsl
Documentation

Description

TEI stylesheet dealing with elements from the drama module, making HTML output.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Author: See AUTHORS

Id: $Id: drama.xsl 7654 2010-06-06 13:13:46Z rahtz $

Copyright: 2008, TEI Consortium

Included from
Stylesheet version 2.0
Template tei:actor
Documentation

Description

Process element actor
Namespace No namespace
Match tei:actor
Mode #default
Import precedence 3
Source
<xsl:template match="tei:actor">
  <span class="actor">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:camera
Documentation

Description

Process element camera
Namespace No namespace
Match tei:camera
Mode #default
Import precedence 3
Source
<xsl:template match="tei:camera">
  <span class="camera">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:caption
Documentation

Description

Process element caption
Namespace No namespace
Match tei:caption
Mode #default
Import precedence 3
Source
<xsl:template match="tei:caption">
  <span class="caption">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:castGroup
Documentation

Description

Process element castGroup
Namespace No namespace
Match tei:castGroup
Mode #default
Import precedence 3
Source
<xsl:template match="tei:castGroup">
  <ul>
    <xsl:apply-templates/>
  </ul>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:castItem
Documentation

Description

Process element castItem
Namespace No namespace
Match tei:castItem
Mode #default
Import precedence 3
Source
<xsl:template match="tei:castItem">
  <li>
    <xsl:apply-templates/>
  </li>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:castList
Documentation

Description

Process element castList
Namespace No namespace
Match tei:castList
Mode #default
Import precedence 3
Source
<xsl:template match="tei:castList">
  <xsl:if test="tei:head">
    <p>
      <em>
        <xsl:for-each select="tei:head">
          <xsl:apply-templates/>
        </xsl:for-each>
      </em>
    </p>
  </xsl:if>
  <ul>
    <xsl:apply-templates/>
  </ul>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:castList/tei:head
Documentation

Description

Process element castList/tei:head
Namespace No namespace
Match tei:castList/tei:head
Mode #default
Import precedence 3
Source
<xsl:template match="tei:castList/tei:head"/>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:role
Documentation

Description

Process element role
Namespace No namespace
Match tei:role
Mode #default
Import precedence 3
Source
<xsl:template match="tei:role">
  <span class="role">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:sp/tei:stage
Documentation

Description

Process element sp/tei:stage
Namespace No namespace
Match tei:sp/tei:stage
Mode #default
Import precedence 3
Source
<xsl:template match="tei:sp/tei:stage">
  <span class="stage">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:roleDesc
Documentation

Description

Process element roleDesc
Namespace No namespace
Match tei:roleDesc
Mode #default
References
Template applyRendition
Import precedence 3
Source
<xsl:template match="tei:roleDesc">
  <blockquote>
    <xsl:choose>
      <xsl:when test="@rend">
        <xsl:attribute name="class">
          <xsl:value-of select="@rend"/>
        </xsl:attribute>
      </xsl:when>
      <xsl:when test="@rendition">
        <xsl:call-template name="applyRendition"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:attribute name="class">
          <xsl:text>roleDesc</xsl:text>
        </xsl:attribute>
      </xsl:otherwise>
    </xsl:choose>
    <xsl:choose>
      <xsl:when test="tei:p">
        <xsl:apply-templates/>
      </xsl:when>
      <xsl:otherwise>
        <p>
          <xsl:apply-templates/>
        </p>
      </xsl:otherwise>
    </xsl:choose>
  </blockquote>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:set
Documentation

Description

Process element set
Namespace No namespace
Match tei:set
Mode #default
Import precedence 3
Source
<xsl:template match="tei:set">
  <span class="set">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:sound
Documentation

Description

Process element sound
Namespace No namespace
Match tei:sound
Mode #default
Import precedence 3
Source
<xsl:template match="tei:sound">
  <span class="sound">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:sp
Documentation

Description

Process element sp

elaborated by Nick Nicholas <nicholas@uci.edu>, March 2001

Namespace No namespace
Match tei:sp
Mode #default
References
Template makeAnchor
Import precedence 3
Source
<xsl:template match="tei:sp">
  <dl>
    <dt>
      <xsl:call-template name="makeAnchor"/>
      <xsl:apply-templates select="tei:speaker"/>
    </dt>
    <dd>
      <xsl:apply-templates select="tei:p | tei:l | tei:lg | tei:seg | tei:ab | tei:stage"/>
    </dd>
  </dl>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:sp/tei:p
Documentation

Description

Process element sp/tei:p
Namespace No namespace
Match tei:sp/tei:p
Mode #default
Import precedence 3
Source
<xsl:template match="tei:sp/tei:p">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:stage
Documentation

Description

Process element stage
Namespace No namespace
Match tei:stage
Mode #default
Import precedence 3
Source
<xsl:template match="tei:stage">
  <p>
    <span class="stage">
      <xsl:apply-templates/>
    </span>
  </p>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:tech
Documentation

Description

Process element tech
Namespace No namespace
Match tei:tech
Mode #default
Import precedence 3
Source
<xsl:template match="tei:tech">
  <span class="tech">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl
Template tei:view
Documentation

Description

Process element view
Namespace No namespace
Match tei:view
Mode #default
Import precedence 3
Source
<xsl:template match="tei:view">
  <span class="view">
    <xsl:apply-templates/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/drama.xsl