Showing:

Documentation
Used by
References
Overriding
Included from
Source
Stylesheet core.xsl
Documentation

Description

TEI stylesheet dealing with elements from the core module.

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: core.xsl 9504 2011-10-15 15:08:24Z rahtz $

Copyright: 2011, TEI Consortium

Included from
Stylesheet version 2.0
Template tei:*depth
Documentation

Description

Process all elements to find out their nesting depth
Namespace No namespace
Match tei:*
Mode depth
Import precedence 1
Source
<xsl:template match="tei:*" mode="depth">99</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:*plain
Documentation

Description

Process all elements in plain mode
Namespace No namespace
Match tei:*
Mode plain
Import precedence 1
Source
<xsl:template match="tei:*" mode="plain">
  <xsl:apply-templates mode="plain"/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:noteplain
Namespace No namespace
Match tei:note
Mode plain
Import precedence 1
Source
<xsl:template match="tei:note" mode="plain"/>
Stylesheet location ../common2/core.xsl
Template tei:appplain
Namespace No namespace
Match tei:app
Mode plain
Import precedence 1
Source
<xsl:template match="tei:app" mode="plain"/>
Stylesheet location ../common2/core.xsl
Template tei:pbplain
Namespace No namespace
Match tei:pb
Mode plain
Import precedence 1
Source
<xsl:template match="tei:pb" mode="plain"/>
Stylesheet location ../common2/core.xsl
Template tei:lbplain
Namespace No namespace
Match tei:lb
Mode plain
Import precedence 1
Source
<xsl:template match="tei:lb" mode="plain"/>
Stylesheet location ../common2/core.xsl
Template tei:figureplain
Namespace No namespace
Match tei:figure
Mode plain
Import precedence 1
Source
<xsl:template match="tei:figure" mode="plain"/>
Stylesheet location ../common2/core.xsl
Template tei:figDescplain
Namespace No namespace
Match tei:figDesc
Mode plain
Import precedence 1
Source
<xsl:template match="tei:figDesc" mode="plain"/>
Stylesheet location ../common2/core.xsl
Template tei:ptrplain
Namespace No namespace
Match tei:ptr
Mode plain
Import precedence 1
Source
<xsl:template match="tei:ptr" mode="plain"/>
Stylesheet location ../common2/core.xsl
Template tei:sic
Documentation

Description

Process tei:sic
Namespace No namespace
Match tei:sic
Mode #default
Overriding
Template tei:sic
Import precedence 1
Source
<xsl:template match="tei:sic">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:corr
Documentation

Description

Process tei:corr
Namespace No namespace
Match tei:corr
Mode #default
Overriding
Template tei:corr
Import precedence 1
Source
<xsl:template match="tei:corr"/>
Stylesheet location ../common2/core.xsl
Template tei:itemrunin
Documentation

Description

Process tei:item in runin mode
Namespace No namespace
Match tei:item
Mode runin
Import precedence 1
Source
<xsl:template match="tei:item" mode="runin">
  <xsl:text></xsl:text>
  <xsl:apply-templates/> </xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:edition
Documentation

Description

Process element edition
Namespace No namespace
Match tei:edition
Mode #default
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:edition">
  <xsl:apply-templates/>
  <xsl:if test="ancestor::tei:biblStruct or ancestor::tei:biblFull">
    <xsl:call-template name="tei:makeText">
      <xsl:with-param name="letters">.</xsl:with-param>
    </xsl:call-template>
  </xsl:if>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:imprint
Documentation

Description

Process element imprint
Namespace No namespace
Match tei:imprint
Mode #default
Import precedence 1
Source
<xsl:template match="tei:imprint">
  <xsl:choose>
    <xsl:when test="ancestor::tei:biblStruct or ancestor::tei:biblFull">
      <xsl:apply-templates select="tei:date"/>
      <xsl:apply-templates select="tei:pubPlace"/>
      <xsl:apply-templates select="tei:publisher"/>
      <xsl:apply-templates select="tei:biblScope"/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:apply-templates/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:biblStructxref
Documentation

Description

 biblStruct 
Namespace No namespace
Match tei:biblStruct
Mode xref
References
Keys ANAMES; MNAMES
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:biblStruct" mode="xref">
  <xsl:choose>
    <xsl:when test="count(key('ANAMES',@xml:id))=1">
      <xsl:value-of select="key('ANAMES',@xml:id)/tei:surname"/>
    </xsl:when>
    <xsl:when test="count(key('ANAMES',@xml:id))=2">
      <xsl:value-of select="key('ANAMES',@xml:id)[1]/tei:surname"/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">and</xsl:with-param>
      </xsl:call-template>
      <xsl:value-of select="key('ANAMES',@xml:id)[2]/tei:surname"/>
    </xsl:when>
    <xsl:when test="count(key('ANAMES',@xml:id))>2">
      <xsl:value-of select="key('ANAMES',@xml:id)[1]/tei:surname"/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">et al.</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="count(key('MNAMES',@xml:id))=1">
      <xsl:value-of select="key('MNAMES',@xml:id)/tei:surname"/>
    </xsl:when>
    <xsl:when test="count(key('MNAMES',@xml:id))=2">
      <xsl:value-of select="key('MNAMES',@xml:id)[1]/tei:surname"/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">and</xsl:with-param>
      </xsl:call-template>
      <xsl:value-of select="key('MNAMES',@xml:id)[2]/tei:surname"/>
    </xsl:when>
    <xsl:when test="count(key('MNAMES',@xml:id))>2">
      <xsl:value-of select="key('MNAMES',@xml:id)[1]/tei:surname"/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">et al.</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test=".//tei:author[tei:surname]">
      <xsl:value-of select=".//tei:author/tei:surname[1]"/>
    </xsl:when>
    <xsl:when test=".//tei:author[tei:orgName]">
      <xsl:value-of select=".//tei:author/tei:orgName[1]"/>
    </xsl:when>
    <xsl:when test=".//tei:author">
      <xsl:value-of select=".//tei:author[1]"/>
    </xsl:when>
    <xsl:when test=".//tei:editor[tei:surname]">
      <xsl:value-of select=".//tei:editor/tei:surname[1]"/>
    </xsl:when>
    <xsl:when test=".//tei:editor">
      <xsl:value-of select=".//tei:editor[1]"/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:value-of select=".//tei:title[1]"/>
    </xsl:otherwise>
  </xsl:choose>
  <xsl:choose>
    <xsl:when test="count(tei:*[1]/tei:editor)=1">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">(ed.)</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="count(tei:*[1]/tei:editor)>1">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">(eds.)</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
  </xsl:choose>
  <xsl:choose>
    <xsl:when test="tei:monogr/tei:imprint/tei:date/@when">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">(</xsl:with-param>
      </xsl:call-template>
      <xsl:value-of select="substring-before(tei:monogr/tei:imprint/tei:date/@when,'-')"/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">)</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="tei:monogr/tei:imprint/tei:date">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">(</xsl:with-param>
      </xsl:call-template>
      <xsl:value-of select="tei:monogr/tei:imprint/tei:date"/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">)</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
  </xsl:choose>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:editor|tei:author
Documentation

Description

 authors and editors 
Namespace No namespace
Match tei:editor|tei:author
Mode #default
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:editor|tei:author">
  <xsl:choose>
    <xsl:when test="ancestor::tei:bibl">
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:when test="self::tei:author and not(following-sibling::tei:author)">
      <xsl:apply-templates/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">.</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="self::tei:editor and not(following-sibling::tei:editor)">
      <xsl:apply-templates/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">(ed</xsl:with-param>
      </xsl:call-template>
      <xsl:if test="preceding-sibling::tei:editor">s</xsl:if>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">.)</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
      <xsl:apply-templates/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">,</xsl:with-param>
      </xsl:call-template>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:surname
Namespace No namespace
Match tei:surname
Mode #default
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:surname">
  <xsl:if test="../tei:forename">
    <xsl:apply-templates select="../tei:forename" mode="use"/>
    <xsl:call-template name="tei:makeText">
      <xsl:with-param name="letters">
        <xsl:text> </xsl:text>
      </xsl:with-param>
    </xsl:call-template>
  </xsl:if>
  <xsl:if test="../tei:nameLink">
    <xsl:apply-templates select="../tei:nameLink" mode="use"/>
    <xsl:call-template name="tei:makeText">
      <xsl:with-param name="letters">
        <xsl:text> </xsl:text>
      </xsl:with-param>
    </xsl:call-template>
  </xsl:if>
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:forename
Namespace No namespace
Match tei:forename
Mode #default
Import precedence 1
Source
<xsl:template match="tei:forename">
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:nameLink
Namespace No namespace
Match tei:nameLink
Mode #default
Import precedence 1
Source
Stylesheet location ../common2/core.xsl
Template tei:forenameuse
Namespace No namespace
Match tei:forename
Mode use
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:forename" mode="use">
  <xsl:if test="preceding-sibling::tei:forename">
    <xsl:call-template name="tei:makeText">
      <xsl:with-param name="letters">
        <xsl:text> </xsl:text>
      </xsl:with-param>
    </xsl:call-template>
  </xsl:if>
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:nameLinkuse
Namespace No namespace
Match tei:nameLink
Mode use
Import precedence 1
Source
<xsl:template match="tei:nameLink" mode="use">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:titlePartsimple
Documentation

Description

 title  
Namespace No namespace
Match tei:titlePart
Mode simple
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:titlePart" mode="simple">
  <xsl:if test="preceding-sibling::tei:titlePart">
    <xsl:call-template name="tei:makeText">
      <xsl:with-param name="letters"></xsl:with-param>
    </xsl:call-template>
  </xsl:if>
  <xsl:value-of select="."/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:titlesimple
Namespace No namespace
Match tei:title
Mode simple
Import precedence 1
Source
<xsl:template match="tei:title" mode="simple">
  <xsl:value-of select="."/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:titlePart
Namespace No namespace
Match tei:titlePart
Mode #default
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:titlePart">
  <xsl:if test="preceding-sibling::tei:titlePart">
    <xsl:call-template name="tei:makeText">
      <xsl:with-param name="letters"></xsl:with-param>
    </xsl:call-template>
  </xsl:if>
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:title
Namespace No namespace
Match tei:title
Mode #default
References
Templates emphasize; tei:makeText
Import precedence 1
Source
<xsl:template match="tei:title">
  <xsl:choose>
    <xsl:when test="parent::tei:titleStmt/parent::tei:fileDesc">
      <xsl:if test="preceding-sibling::tei:title">
        <xsl:call-template name="tei:makeText">
          <xsl:with-param name="letters"></xsl:with-param>
        </xsl:call-template>
      </xsl:if>
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:when test="@level='m' or not(@level)">
      <xsl:call-template name="emphasize">
        <xsl:with-param name="class">
          <xsl:text>titlem</xsl:text>
        </xsl:with-param>
        <xsl:with-param name="content">
          <xsl:apply-templates/>
        </xsl:with-param>
      </xsl:call-template>
      <xsl:if test="ancestor::tei:biblStruct or ancestor::tei:biblFull">
        <xsl:call-template name="tei:makeText">
          <xsl:with-param name="letters">,</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
    </xsl:when>
    <xsl:when test="@level='s'">
      <xsl:call-template name="emphasize">
        <xsl:with-param name="class">
          <xsl:text>titles</xsl:text>
        </xsl:with-param>
        <xsl:with-param name="content">
          <xsl:apply-templates/>
        </xsl:with-param>
      </xsl:call-template>
      <xsl:if test="following-sibling::* and     (ancestor::tei:biblStruct  or ancestor::tei:biblFull)">
        <xsl:call-template name="tei:makeText">
          <xsl:with-param name="letters">
          </xsl:with-param>
        </xsl:call-template>
      </xsl:if>
    </xsl:when>
    <xsl:when test="@level='j'">
      <xsl:call-template name="emphasize">
        <xsl:with-param name="class">
          <xsl:text>titlej</xsl:text>
        </xsl:with-param>
        <xsl:with-param name="content">
          <xsl:apply-templates/>
        </xsl:with-param>
      </xsl:call-template>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">
          <xsl:text> </xsl:text>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="@level='a'">
      <xsl:call-template name="emphasize">
        <xsl:with-param name="class">
          <xsl:text>titlea</xsl:text>
        </xsl:with-param>
        <xsl:with-param name="content">
          <xsl:apply-templates/>
        </xsl:with-param>
      </xsl:call-template>
      <xsl:if test="ancestor::tei:biblStruct or ancestor::tei:biblFull">
        <xsl:call-template name="tei:makeText">
          <xsl:with-param name="letters">.</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
    </xsl:when>
    <xsl:when test="@level='u'">
      <xsl:call-template name="emphasize">
        <xsl:with-param name="class">
          <xsl:text>titleu</xsl:text>
        </xsl:with-param>
        <xsl:with-param name="content">
          <xsl:apply-templates/>
        </xsl:with-param>
      </xsl:call-template>
      <xsl:if test="ancestor::tei:biblStruct  or ancestor::tei:biblFull">
        <xsl:call-template name="tei:makeText">
          <xsl:with-param name="letters">.</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
    </xsl:when>
    <xsl:when test="ancestor::tei:bibl">
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:call-template name="emphasize">
        <xsl:with-param name="class">
          <xsl:text>titlem</xsl:text>
        </xsl:with-param>
        <xsl:with-param name="content">
          <xsl:apply-templates/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:meeting
Namespace No namespace
Match tei:meeting
Mode #default
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:meeting">
  <xsl:call-template name="tei:makeText">
    <xsl:with-param name="letters">(</xsl:with-param>
  </xsl:call-template>
  <xsl:apply-templates/>
  <xsl:call-template name="tei:makeText">
    <xsl:with-param name="letters">)</xsl:with-param>
  </xsl:call-template>
  <xsl:if test="following-sibling::* and (ancestor::tei:biblStruct  or ancestor::tei:biblFull)">
    <xsl:call-template name="tei:makeText">
      <xsl:with-param name="letters">
        <xsl:text> </xsl:text>
      </xsl:with-param>
    </xsl:call-template>
  </xsl:if>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:series
Namespace No namespace
Match tei:series
Mode #default
Import precedence 1
Source
<xsl:template match="tei:series">
  <xsl:apply-templates/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:biblStruct//tei:date|tei:biblFull//tei:date
Namespace No namespace
Match tei:biblStruct//tei:date|tei:biblFull//tei:date
Mode #default
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:biblStruct//tei:date|tei:biblFull//tei:date">
  <!--
	 <xsl:choose>
	 <xsl:when test="starts-with(.,'$Date:')">
	 <xsl:value-of select="substring-before(substring-after(.,'$Date:'),'$')"/>
	 </xsl:when>
	 <xsl:otherwise>
	 <xsl:apply-templates/>
	 </xsl:otherwise>
	 </xsl:choose>
     -->
  <xsl:apply-templates/>
  <xsl:call-template name="tei:makeText">
    <xsl:with-param name="letters">.</xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:byline
Namespace No namespace
Match tei:byline
Mode #default
References
Template makeSpan
Import precedence 1
Source
<xsl:template match="tei:byline">
  <xsl:call-template name="makeSpan"/>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:pubPlace
Namespace No namespace
Match tei:pubPlace
Mode #default
References
Templates makeSpan; tei:makeText
Import precedence 1
Source
<xsl:template match="tei:pubPlace">
  <xsl:call-template name="makeSpan"/>
  <xsl:choose>
    <xsl:when test="ancestor::tei:bibl"/>
    <xsl:when test="following-sibling::tei:pubPlace">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">,</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="../tei:publisher">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">:</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">.</xsl:with-param>
      </xsl:call-template>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:publisher
Namespace No namespace
Match tei:publisher
Mode #default
References
Templates makeSpan; tei:makeText
Import precedence 1
Source
<xsl:template match="tei:publisher">
  <xsl:call-template name="makeSpan"/>
  <xsl:if test="ancestor::tei:biblStruct or ancestor::tei:biblFull">
    <xsl:call-template name="tei:makeText">
      <xsl:with-param name="letters">.</xsl:with-param>
    </xsl:call-template>
  </xsl:if>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:biblScope
Documentation

Description

 details and notes 
Namespace No namespace
Match tei:biblScope
Mode #default
References
Templates emphasize; tei:makeText
Import precedence 1
Source
<xsl:template match="tei:biblScope">
  <xsl:choose>
    <xsl:when test="ancestor::tei:bibl">
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:when test="@type='vol' or @type='volume'">
      <xsl:call-template name="emphasize">
        <xsl:with-param name="class">
          <xsl:text>vol</xsl:text>
        </xsl:with-param>
        <xsl:with-param name="content">
          <xsl:apply-templates/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="@type='chap'">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">chapter</xsl:with-param>
      </xsl:call-template>
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:when test="@type='issue' or @type='nr'">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">(</xsl:with-param>
      </xsl:call-template>
      <xsl:apply-templates/>
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">)</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="@type='page_from'">
      <xsl:text>pp. </xsl:text>
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:when test="@type='page_to'">
      <xsl:text>-</xsl:text>
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:when test="@type='pp' or @type='pages'">
      <xsl:choose>
        <xsl:when test="contains(.,'-')">
          <xsl:call-template name="tei:makeText">
            <xsl:with-param name="letters">pp.</xsl:with-param>
          </xsl:call-template>
        </xsl:when>
        <xsl:when test="contains(.,'ff')">
          <xsl:call-template name="tei:makeText">
            <xsl:with-param name="letters">pp.</xsl:with-param>
          </xsl:call-template>
        </xsl:when>
        <xsl:when test="contains(.,' ')">
          <xsl:call-template name="tei:makeText">
            <xsl:with-param name="letters">pp.</xsl:with-param>
          </xsl:call-template>
        </xsl:when>
        <xsl:otherwise>
          <xsl:call-template name="tei:makeText">
            <xsl:with-param name="letters">p.</xsl:with-param>
          </xsl:call-template>
        </xsl:otherwise>
      </xsl:choose>
      <xsl:apply-templates/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:apply-templates/>
    </xsl:otherwise>
  </xsl:choose>
  <xsl:choose>
    <xsl:when test="@type='vol' and      following-sibling::tei:biblScope[@type='issue']">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">
          <xsl:text> </xsl:text>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="@type='vol' and following-sibling::tei:biblScope">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">
          <xsl:text> </xsl:text>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="following-sibling::tei:biblScope">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">
          <xsl:text> </xsl:text>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="ancestor::tei:biblStruct or ancestor::tei:biblFull">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">.</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
  </xsl:choose>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:name|tei:persName
Documentation

Description

Process element name and tei:persName
Namespace No namespace
Match tei:name|tei:persName
Mode #default
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:name|tei:persName">
  <xsl:apply-templates/>
  <xsl:choose>
    <xsl:when test="not(ancestor::tei:person|ancestor::tei:biblStruct)"/>
    <xsl:when test="following-sibling::tei:name|following-sibling::tei:persName">
      <xsl:call-template name="tei:makeText">
        <xsl:with-param name="letters">,</xsl:with-param>
      </xsl:call-template>
    </xsl:when>
  </xsl:choose>
</xsl:template>
Stylesheet location ../common2/core.xsl
Template tei:bibl/tei:note|tei:biblStruct/tei:note
Namespace No namespace
Match tei:bibl/tei:note|tei:biblStruct/tei:note
Mode #default
References
Template tei:makeText
Import precedence 1
Source
<xsl:template match="tei:bibl/tei:note|tei:biblStruct/tei:note">
  <xsl:call-template name="tei:makeText">
    <xsl:with-param name="letters">(</xsl:with-param>
  </xsl:call-template>
  <xsl:apply-templates/>
  <xsl:call-template name="tei:makeText">
    <xsl:with-param name="letters">)</xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../common2/core.xsl
Output (default)
Namespace No namespace
Output properties
method indent
no
Source
<xsl:output indent="no"/>
Stylesheet location ../common2/core.xsl
Key MNAMES
Namespace No namespace
Match tei:monogr/tei:author[tei:surname]|tei:monogr/tei:editor[tei:surname]
Use ancestor::tei:biblStruct/@xml:id
Used by
Source
<xsl:key name="MNAMES" match="tei:monogr/tei:author[tei:surname]|tei:monogr/tei:editor[tei:surname]" use="ancestor::tei:biblStruct/@xml:id"/>
Stylesheet location ../common2/core.xsl
Key ANAMES
Namespace No namespace
Match tei:analytic/tei:author[tei:surname]|tei:analytic/tei:editor[tei:surname]
Use ancestor::tei:biblStruct/@xml:id
Used by
Source
<xsl:key name="ANAMES" match="tei:analytic/tei:author[tei:surname]|tei:analytic/tei:editor[tei:surname]" use="ancestor::tei:biblStruct/@xml:id"/>
Stylesheet location ../common2/core.xsl