Showing:

Documentation
Parameters
Used by
References
Supersedes
Overriding
Included modules
Imported from
Source
Stylesheet oddprocessing.xsl
Documentation

Description

TEI stylesheet dealing with elements from the tagdocs 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 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: oddprocessing.xsl 9669 2011-11-07 19:17:54Z rahtz $

Copyright: 2011, TEI Consortium

Included modules
Imported from
Stylesheet version 2.0
Template refdoc
Documentation

Description

[odds] Document an element, macro, or class
Namespace No namespace
Used by
References
Import precedence 4
Source
<xsl:template name="refdoc">
  <xsl:if test="$verbose='true'">
    <xsl:message>refdoc for
      <xsl:value-of select="name(.)"/>-
      <xsl:value-of select="@ident"/>
    </xsl:message>
  </xsl:if>
  <xsl:variable name="objectname">
    <xsl:choose>
      <xsl:when test="tei:altIdent">
        <xsl:value-of select="tei:altIdent"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="@ident"/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:variable>
  <xsl:variable name="name">
    <xsl:value-of select="$objectname"/>
  </xsl:variable>
  <xsl:choose>
    <xsl:when test="self::tei:classSpec and not(@ident='att.global') and         count(key('CLASSMEMBERS',@ident))=0">
      <xsl:if test="$verbose='true'">
        <xsl:message>class
          <xsl:value-of select="@ident"/>omitted as it has no members</xsl:message>
      </xsl:if>
    </xsl:when>
    <xsl:when test="number($splitLevel)=-1 or $STDOUT='true'">
      <xsl:apply-templates mode="weavebody" select="."/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:variable name="BaseFile">
        <xsl:value-of select="$masterFile"/>
        <xsl:if test="ancestor::tei:teiCorpus">
          <xsl:text>-</xsl:text>
          <xsl:choose>
            <xsl:when test="@xml:id">
              <xsl:value-of select="@xml:id"/>
            </xsl:when>
            <xsl:otherwise>
              <xsl:number/>
            </xsl:otherwise>
          </xsl:choose>
        </xsl:if>
      </xsl:variable>
      <xsl:variable name="outName">
        <xsl:call-template name="outputChunkName">
          <xsl:with-param name="ident">
            <xsl:text>ref-</xsl:text>
            <xsl:value-of select="@ident"/>
          </xsl:with-param>
        </xsl:call-template>
      </xsl:variable>
      <xsl:if test="$verbose='true'">
        <xsl:message>Opening file
          <xsl:value-of select="$outName"/>
        </xsl:message>
      </xsl:if>
      <xsl:variable name="documentationLanguage">
        <xsl:call-template name="generateDoc"/>
      </xsl:variable>
      <xsl:variable name="langs">
        <xsl:value-of select="concat(normalize-space($documentationLanguage),' ')"/>
      </xsl:variable>
      <xsl:result-document doctype-public="{$doctypePublic}" doctype-system="{$doctypeSystem}" encoding="{$outputEncoding}" href="{$outName}" method="{$outputMethod}">
        <xsl:element name="html" namespace="{$outputNamespace}">
          <xsl:call-template name="addLangAtt"/>
          <xsl:comment>THIS IS A GENERATED FILE. DO NOT EDIT (7)</xsl:comment>
          <head>
            <title>
              <xsl:text>TEI </xsl:text>
              <xsl:value-of select="substring-before(local-name(),'Spec')"/>
              <xsl:text> </xsl:text>
              <xsl:value-of select="$name"/>
              <xsl:text> </xsl:text>
              <xsl:call-template name="makeGloss">
                <xsl:with-param name="langs" select="$langs"/>
              </xsl:call-template>
            </title>
            <xsl:call-template name="metaHTML">
              <xsl:with-param name="title">
                <xsl:value-of select="substring-before(local-name(),'Spec')"/>
                <xsl:text> </xsl:text>
                <xsl:value-of select="@ident"/>
                <xsl:text> </xsl:text>
                <xsl:call-template name="makeGloss">
                  <xsl:with-param name="langs" select="$langs"/>
                </xsl:call-template>
                <xsl:text> - </xsl:text>
                <xsl:call-template name="generateTitle"/>
              </xsl:with-param>
            </xsl:call-template>
            <xsl:call-template name="includeCSS"/>
            <xsl:call-template name="generateLocalCSS"/>
            <xsl:call-template name="includeJavascript"/>
            <xsl:call-template name="javascriptHook"/>
          </head>
          <body id="TOP">
            <xsl:call-template name="bodyMicroData"/>
            <xsl:call-template name="guidelinesTop">
              <xsl:with-param name="name">
                <xsl:value-of select="$name"/>
              </xsl:with-param>
            </xsl:call-template>
            <div class="main-content">
              <xsl:call-template name="startDivHook"/>
              <xsl:apply-templates mode="weavebody" select="."/>
            </div>
            <xsl:call-template name="stdfooter">
              <xsl:with-param name="file">
                <xsl:text>ref-</xsl:text>
                <xsl:value-of select="@ident"/>
              </xsl:with-param>
            </xsl:call-template>
            <xsl:call-template name="bodyEndHook"/>
          </body>
        </xsl:element>
      </xsl:result-document>
      <xsl:if test="$verbose='true'">
        <xsl:message>Closing file
          <xsl:value-of select="$outName"/>
        </xsl:message>
      </xsl:if>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template refdocFooter
Documentation

Description

[html] Provide a footer for each reference document
Namespace No namespace
References
Import precedence 4
Source
<xsl:template name="refdocFooter">
  <xsl:call-template name="preAddressHook"/>
  <div style="margin: 20pt; font-weight: bold;">
    <a href="{$refDocFooterURL}">
      <xsl:value-of select="$refDocFooterText"/>
    </a>
  </div>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template typewriter
Documentation

Description

[html]

Parameters

text text

Namespace No namespace
Used by
Templates tei:code; tei:tag
Parameters
QName Namespace
text No namespace
Import precedence 4
Source
<xsl:template name="typewriter">
  <xsl:param name="text"/>
  <tt>
    <xsl:copy-of select="$text"/>
  </tt>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template showRNC
Namespace No namespace
Used by
References
Parameters
QName Namespace
contents No namespace
style No namespace
Import precedence 4
Source
<xsl:template name="showRNC">
  <xsl:param name="style"/>
  <xsl:param name="contents"/>
  <span class="{$style}">
    <xsl:choose>
      <xsl:when test="string-length($contents)<50">
        <xsl:value-of select="$contents"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:call-template name="verbatim-reformatText">
          <xsl:with-param name="sofar">0</xsl:with-param>
          <xsl:with-param name="indent">
            <xsl:text> </xsl:text>
          </xsl:with-param>
          <xsl:with-param name="text">
            <xsl:value-of select="$contents"/>
          </xsl:with-param>
        </xsl:call-template>
      </xsl:otherwise>
    </xsl:choose>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template emptySlash
Namespace No namespace
Used by
Parameters
QName Namespace
name No namespace
Import precedence 4
Source
<xsl:template name="emptySlash">
  <xsl:param name="name"/>
  <span class="emptySlash">
    <xsl:value-of select="$name"/>
  </span>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template teix:egXML
Documentation

Description

Process elements teix:egXML
Namespace No namespace
Match teix:egXML
Mode #default
References
Supersedes
Template teix:egXML
Parameters
QName Namespace
highlight No namespace
simple No namespace
Import precedence 4
Source
<xsl:template match="teix:egXML">
  <xsl:param name="simple">false</xsl:param>
  <xsl:param name="highlight"/>
  <div>
    <xsl:attribute name="id">
      <xsl:apply-templates mode="ident" select="."/>
    </xsl:attribute>
    <xsl:attribute name="class">
      <xsl:text>pre</xsl:text>
      <xsl:if test="not(*)">
        <xsl:text> cdata</xsl:text>
      </xsl:if>
      <xsl:choose>
        <xsl:when test="@valid='feasible'">
          <xsl:text> egXML_feasible</xsl:text>
        </xsl:when>
        <xsl:when test="@valid='false'">
          <xsl:text> egXML_invalid</xsl:text>
        </xsl:when>
        <xsl:otherwise>
          <xsl:text> egXML_valid</xsl:text>
        </xsl:otherwise>
      </xsl:choose>
    </xsl:attribute>
    <xsl:choose>
      <xsl:when test="$simple='true'">
        <xsl:apply-templates mode="verbatim">
          <xsl:with-param name="highlight">
            <xsl:value-of select="$highlight"/>
          </xsl:with-param>
        </xsl:apply-templates>
      </xsl:when>
      <xsl:otherwise>
        <xsl:call-template name="egXMLStartHook"/>
        <xsl:apply-templates mode="verbatim">
          <xsl:with-param name="highlight">
            <xsl:value-of select="$highlight"/>
          </xsl:with-param>
        </xsl:apply-templates>
        <xsl:call-template name="egXMLEndHook"/>
      </xsl:otherwise>
    </xsl:choose>
  </div>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template bitOut
Documentation

Description

[html]

Parameters

grammar grammar

content content

element element

Namespace No namespace
Used by
References
Parameters
QName Namespace
content No namespace
element No namespace
grammar No namespace
Import precedence 4
Source
<xsl:template name="bitOut">
  <xsl:param name="grammar"/>
  <xsl:param name="content"/>
  <xsl:param name="element">pre</xsl:param>
  <xsl:choose>
    <xsl:when test="$displayMode='both'">
      <div class="displayRelax">
        <button class="displayRelaxButton">
          <span class="RNG_Compact">
            <xsl:call-template name="i18n">
              <xsl:with-param name="word">Compact to XML format</xsl:with-param>
            </xsl:call-template>
          </span>
          <span class="RNG_XML">
            <xsl:call-template name="i18n">
              <xsl:with-param name="word">XML format to compact</xsl:with-param>
            </xsl:call-template>
          </span>
        </button>
        <pre class="RNG_XML">
          <xsl:apply-templates mode="verbatim" select="$content/*/*"/>
        </pre>
        <pre class="RNG_Compact">
          <xsl:call-template name="make-body-from-r-t-f">
            <xsl:with-param name="schema">
              <xsl:for-each select="$content/*">
                <xsl:call-template name="make-compact-schema"/>
              </xsl:for-each>
            </xsl:with-param>
          </xsl:call-template>
        </pre>
      </div>
    </xsl:when>
    <xsl:when test="$displayMode='rng'">
      <xsl:element name="{$element}">
        <xsl:attribute name="class">eg</xsl:attribute>
        <xsl:apply-templates mode="verbatim" select="$content/*/*"/>
      </xsl:element>
    </xsl:when>
    <xsl:when test="$displayMode='rnc'">
      <xsl:element name="{$element}">
        <xsl:attribute name="class">eg</xsl:attribute>
        <xsl:call-template name="make-body-from-r-t-f">
          <xsl:with-param name="schema">
            <xsl:for-each select="$content/*">
              <xsl:call-template name="make-compact-schema"/>
            </xsl:for-each>
          </xsl:with-param>
        </xsl:call-template>
      </xsl:element>
    </xsl:when>
    <xsl:otherwise>
      <xsl:element name="{$element}">
        <xsl:attribute name="class">eg</xsl:attribute>
        <xsl:for-each select="$content/*">
          <xsl:apply-templates mode="literal"/>
        </xsl:for-each>
      </xsl:element>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template showSpace
Namespace No namespace
Used by
Import precedence 4
Source
<xsl:template name="showSpace">
  <xsl:text> </xsl:text>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template showSpaceBetweenItems
Namespace No namespace
Used by
Import precedence 4
Source
<xsl:template name="showSpaceBetweenItems">
  <xsl:text> </xsl:text>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:schemaSpec
Namespace No namespace
Match tei:schemaSpec
Mode #default
References
Template schemaSpecWeave
Overriding
Template tei:schemaSpec
Import precedence 4
Source
<xsl:template match="tei:schemaSpec">
  <xsl:choose>
    <xsl:when test="tei:specGrpRef">
      <xsl:variable name="SPECS">
        <tei:schemaSpec>
          <xsl:copy-of select="@*"/>
          <xsl:apply-templates mode="expandSpecs"/>
        </tei:schemaSpec>
      </xsl:variable>
      <xsl:for-each select="$SPECS/tei:schemaSpec">
        <xsl:call-template name="schemaSpecWeave"/>
      </xsl:for-each>
    </xsl:when>
    <xsl:otherwise>
      <xsl:call-template name="schemaSpecWeave"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template schemaSpecWeave
Namespace No namespace
Used by
Template tei:schemaSpec
References
Import precedence 4
Source
<xsl:template name="schemaSpecWeave">
  <xsl:if test="$verbose='true'">
    <xsl:message>Processing schemaSpec
      <xsl:value-of select="@ident"/>, summaryDoc=
      <xsl:value-of select="$summaryDoc"/>
    </xsl:message>
  </xsl:if>
  <xsl:choose>
    <xsl:when test="$summaryDoc='true'">
      <h2>Schema <xsl:value-of select="@ident"/>: changed components</h2>
      <xsl:for-each select="tei:classSpec[@mode or @rend='change']        | tei:macroSpec[(@mode or @rend='change')]        | tei:elementSpec[(@mode or @rend='change')]">
        <xsl:sort select="@ident"/>
        <xsl:apply-templates mode="weave" select="."/>
      </xsl:for-each>
      <h2>Schema <xsl:value-of select="@ident"/>:  unchanged  components</h2>
      <table>
        <xsl:for-each select="tei:classSpec[not(@mode or @rend)]          | tei:macroSpec[not(@mode or  @rend)]          | tei:elementSpec[not(@mode or @rend)]">
          <xsl:sort select="@ident"/>
          <tr>
            <td id="{@ident}">
              <a href="http://www.tei-c.org/release/doc/tei-p5-doc/{$documentationLanguage}/html/ref-{@ident}.html">
                <xsl:value-of select="@ident"/>
              </a>:
		     <xsl:call-template name="makeDescription"/></td>
          </tr>
        </xsl:for-each>
      </table>
    </xsl:when>
    <xsl:otherwise>
      <h2>Schema <xsl:value-of select="@ident"/>: Elements</h2>
      <xsl:apply-templates mode="weave" select="tei:elementSpec">
        <xsl:sort select="@ident"/>
      </xsl:apply-templates>
      <xsl:if test="tei:classSpec[@type='model']">
        <h2>Schema <xsl:value-of select="@ident"/>: Model classes</h2>
        <xsl:apply-templates mode="weave" select="tei:classSpec[@type='model']">
          <xsl:sort select="@ident"/>
        </xsl:apply-templates>
      </xsl:if>
      <xsl:if test="tei:classSpec[@type='atts']">
        <h2>Schema <xsl:value-of select="@ident"/>: Attribute classes</h2>
        <xsl:apply-templates mode="weave" select="tei:classSpec[@type='atts']">
          <xsl:sort select="@ident"/>
        </xsl:apply-templates>
      </xsl:if>
      <xsl:if test="tei:macroSpec">
        <h2>Schema <xsl:value-of select="@ident"/>: Macros</h2>
        <xsl:apply-templates mode="weave" select="tei:macroSpec">
          <xsl:sort select="@ident"/>
        </xsl:apply-templates>
      </xsl:if>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template makeSectionHead
Documentation

Description

[odds] make a link

Parameters

name name

id id

Namespace No namespace
Used by
References
Template makeAnchor
Parameters
QName Namespace
id No namespace
name No namespace
Import precedence 4
Source
<xsl:template name="makeSectionHead">
  <xsl:param name="name"/>
  <xsl:param name="id"/>
  <h3>
    <xsl:attribute name="class">
      <xsl:text>oddSpec</xsl:text>
      <xsl:if test="@status">
        <xsl:text> status_</xsl:text>
        <xsl:value-of select="@status"/>
      </xsl:if>
    </xsl:attribute>
    <xsl:call-template name="makeAnchor">
      <xsl:with-param name="name">
        <xsl:value-of select="$id"/>
      </xsl:with-param>
    </xsl:call-template>
    <xsl:value-of select="$name"/>
    <xsl:if test="@ns">
	[<xsl:value-of select="@ns"/>]
      </xsl:if>
  </h3>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template specHook
Namespace No namespace
Used by
Parameters
QName Namespace
name No namespace
Import precedence 4
Source
<xsl:template name="specHook">
  <xsl:param name="name"/>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:ident
Namespace No namespace
Match tei:ident
Mode #default
References
Key CLASSES
Template linkTogether
Supersedes
Template tei:ident
Import precedence 4
Source
<xsl:template match="tei:ident">
  <xsl:choose>
    <xsl:when test="@type='class' and key('CLASSES',.)">
      <xsl:call-template name="linkTogether">
        <xsl:with-param name="name">
          <xsl:value-of select="."/>
        </xsl:with-param>
        <xsl:with-param name="reftext">
          <xsl:value-of select="."/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="@type">
      <span class="ident-{@type}">
        <xsl:apply-templates/>
      </span>
    </xsl:when>
    <xsl:otherwise>
      <span class="ident">
        <xsl:apply-templates/>
      </span>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:gi
Namespace No namespace
Match tei:gi
Mode #default
References
Key ELEMENTS
Template linkTogether
Supersedes
Template tei:gi
Import precedence 4
Source
<xsl:template match="tei:gi">
  <xsl:variable name="lookup" select="."/>
  <xsl:choose>
    <xsl:when test="parent::tei:ref or parent::tei:head or string-length(@scheme)>0">
      <span class="gi">
        <xsl:text><</xsl:text>
        <xsl:apply-templates/>
        <xsl:text>></xsl:text>
      </span>
    </xsl:when>
    <xsl:when test="key('ELEMENTS',$lookup)">
      <xsl:for-each select="key('ELEMENTS',$lookup)[last()]">
        <xsl:call-template name="linkTogether">
          <xsl:with-param name="class">gi</xsl:with-param>
          <xsl:with-param name="name">
            <xsl:value-of select="@ident"/>
          </xsl:with-param>
          <xsl:with-param name="reftext">
            <xsl:choose>
              <xsl:when test="tei:content/rng:empty">
                <span class="emptySlash">
                  <xsl:value-of select="(tei:altIdent|@ident)[last()]"/>
                </span>
              </xsl:when>
              <xsl:otherwise>
                <xsl:value-of select="(tei:altIdent|@ident)[last()]"/>
              </xsl:otherwise>
            </xsl:choose>
          </xsl:with-param>
        </xsl:call-template>
      </xsl:for-each>
    </xsl:when>
    <xsl:otherwise>
      <span class="gi">
        <xsl:text><</xsl:text>
        <xsl:apply-templates/>
        <xsl:text>></xsl:text>
      </span>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template processSchemaFragment
Namespace No namespace
References
Template i18n
Overriding
Parameters
QName Namespace
filename No namespace
Import precedence 4
Source
<xsl:template name="processSchemaFragment">
  <xsl:param name="filename"/>
  <div class="schemaFragment">
    <xsl:if test="tei:elementSpec">
      <h2>
        <xsl:call-template name="i18n">
          <xsl:with-param name="word">Elements defined</xsl:with-param>
        </xsl:call-template>
      </h2>
      <xsl:apply-templates mode="weave" select="tei:elementSpec">
        <xsl:sort select="tei:altIdent|@ident"/>
      </xsl:apply-templates>
    </xsl:if>
    <xsl:if test="tei:classSpec">
      <h2>
        <xsl:call-template name="i18n">
          <xsl:with-param name="word">Classes defined</xsl:with-param>
        </xsl:call-template>
      </h2>
      <xsl:apply-templates mode="weave" select="tei:classSpec">
        <xsl:sort select="tei:altIdent|@ident"/>
      </xsl:apply-templates>
    </xsl:if>
    <xsl:if test="tei:macroSpec">
      <h2>
        <xsl:call-template name="i18n">
          <xsl:with-param name="word">Macros defined</xsl:with-param>
        </xsl:call-template>
      </h2>
      <xsl:apply-templates mode="weave" select="tei:macroSpec">
        <xsl:sort select="tei:altIdent|@ident"/>
      </xsl:apply-templates>
    </xsl:if>
    <xsl:apply-templates select="tei:specGrpRef"/>
  </div>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template listSpecs
Namespace No namespace
References
Parameter tocElement
Import precedence 4
Source
<xsl:template name="listSpecs">
  <xsl:for-each select="..//tei:schemaSpec">
    <hr/>
    <xsl:for-each select="tei:classSpec">
      <xsl:sort select="tei:altIdent"/>
      <xsl:sort select="@ident"/>
      <xsl:element name="{$tocElement}">
        <xsl:attribute name="class">toclist0</xsl:attribute>
        <a class="toclist" href="#{@ident}">
          <xsl:choose>
            <xsl:when test="tei:altIdent">
              <xsl:value-of select="tei:altIdent"/>
            </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="@ident"/>
            </xsl:otherwise>
          </xsl:choose>
        </a>
      </xsl:element>
    </xsl:for-each>
    <hr/>
    <xsl:for-each select="tei:elementSpec">
      <xsl:sort select="tei:altIdent"/>
      <xsl:sort select="@ident"/>
      <xsl:element name="{$tocElement}">
        <xsl:attribute name="class">toclist0</xsl:attribute>
        <a class="toclist" href="#{@ident}">
          <xsl:choose>
            <xsl:when test="tei:altIdent">
              <xsl:value-of select="tei:altIdent"/>
            </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="@ident"/>
            </xsl:otherwise>
          </xsl:choose>
        </a>
      </xsl:element>
    </xsl:for-each>
    <hr/>
    <xsl:for-each select="tei:macroSpec">
      <xsl:sort select="tei:altIdent"/>
      <xsl:sort select="@ident"/>
      <xsl:element name="{$tocElement}">
        <xsl:attribute name="class">toclist0</xsl:attribute>
        <a class="toclist" href="#{@ident}">
          <xsl:choose>
            <xsl:when test="tei:altIdent">
              <xsl:value-of select="tei:altIdent"/>
            </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="@ident"/>
            </xsl:otherwise>
          </xsl:choose>
        </a>
      </xsl:element>
    </xsl:for-each>
  </xsl:for-each>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:elementSpec[@mode='delete']
Namespace No namespace
Match tei:elementSpec[@mode='delete']
Mode #default
Import precedence 4
Source
<xsl:template match="tei:elementSpec[@mode='delete']">
  <dt>Element <xsl:value-of select="@ident"/>
  </dt>
  <dd>
    <b>DELETED</b>
  </dd>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template verbatim-lineBreak
Namespace No namespace
Used by
Supersedes
Parameters
QName Namespace
id No namespace
Import precedence 4
Source
<xsl:template name="verbatim-lineBreak">
  <xsl:param name="id"/>
  <xsl:text disable-output-escaping="yes"><br/></xsl:text>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template rng:ref/@nameattributetext
Namespace No namespace
Match rng:ref/@name
Mode attributetext
References
Parameter top
Template linkTogether
Import precedence 4
Source
<xsl:template match="rng:ref/@name" mode="attributetext">
  <xsl:variable name="me">
    <xsl:choose>
      <xsl:when test="contains(.,'.attributes')">
        <xsl:value-of select="substring-before(.,'.attributes')"/>
      </xsl:when>
      <xsl:when test="contains(.,'.content')">
        <xsl:value-of select="substring-before(.,'.content')"/>
      </xsl:when>
      <xsl:when test="contains(.,'.attribute.')">
        <xsl:value-of select="substring-before(.,'.attribute.')"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="."/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:variable>
  <xsl:variable name="n" select="."/>
  <xsl:choose>
    <xsl:when test="contains(.,'.localattributes')">
      <xsl:value-of select="$n"/>
    </xsl:when>
    <xsl:when test="contains(.,'.content')">
      <xsl:value-of select="$n"/>
    </xsl:when>
    <xsl:when test="ancestor::teix:egXML">
      <xsl:value-of select="$n"/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:for-each select="$top">
        <xsl:call-template name="linkTogether">
          <xsl:with-param name="name">
            <xsl:value-of select="$me"/>
          </xsl:with-param>
          <xsl:with-param name="reftext">
            <xsl:value-of select="$n"/>
          </xsl:with-param>
        </xsl:call-template>
      </xsl:for-each>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template rng:*
Namespace No namespace
Match rng:*
Mode #default
Overriding
Templates rng:*; rng:*
Import precedence 4
Source
<xsl:template match="rng:*">
  <xsl:copy>
    <xsl:copy-of select="@*"/>
    <xsl:apply-templates select="rng:*|tei:*|text()|comment()"/>
  </xsl:copy>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template rng:zeroOrMore
Namespace No namespace
Match rng:zeroOrMore
Mode #default
Overriding
Template rng:zeroOrMore
Import precedence 4
Source
<xsl:template match="rng:zeroOrMore">
  <xsl:choose>
    <xsl:when test="count(rng:*)=1 and rng:zeroOrMore">
      <xsl:apply-templates select="rng:*|tei:*|text()|comment()"/>
    </xsl:when>
    <xsl:otherwise>
      <rng:zeroOrMore>
        <xsl:copy-of select="@*"/>
        <xsl:apply-templates select="rng:*|tei:*|text()|comment()"/>
      </rng:zeroOrMore>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:listRefweave
Namespace No namespace
Match tei:listRef
Mode weave
Import precedence 4
Source
<xsl:template match="tei:listRef" mode="weave"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:elementSpec[@mode='delete']weave
Namespace No namespace
Match tei:elementSpec[@mode='delete']
Mode weave
Import precedence 4
Source
<xsl:template match="tei:elementSpec[@mode='delete']" mode="weave"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template a:documentationverbatim
Namespace No namespace
Match a:documentation
Mode verbatim
Import precedence 4
Source
<xsl:template match="a:documentation" mode="verbatim"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:ptr[@type='cit']
Namespace No namespace
Match tei:ptr[@type='cit']
Mode #default
Import precedence 4
Source
<xsl:template match="tei:ptr[@type='cit']">
  <a class="citlink">
    <xsl:for-each select="id(substring(@target,2))">
      <xsl:attribute name="href">
        <xsl:apply-templates select="." mode="generateLink"/>
      </xsl:attribute>
      <xsl:apply-templates select="." mode="xref"/>
    </xsl:for-each>
  </a>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:divGen[@type='macrocat']
Namespace No namespace
Match tei:divGen[@type='macrocat']
Mode #default
References
Import precedence 4
Priority 100
Source
<xsl:template match="tei:divGen[@type='macrocat']" priority="100">
  <h3>Alphabetical list</h3>
  <xsl:for-each select="key('MACRODOCS',1)">
    <xsl:sort select="@module"/>
    <xsl:if test="generate-id(.)=generate-id(key('MACRO-MODULE',@module)[1])">
      <div id="macro-{@module}">
        <h3>
          <xsl:for-each select="key('MODULES',@module)">
            <xsl:text>[</xsl:text>
            <xsl:value-of select="@ident"/>
            <xsl:text>] </xsl:text>
            <xsl:call-template name="makeDescription"/>
          </xsl:for-each>
        </h3>
        <xsl:for-each select="key('MACRO-MODULE',@module)">
          <xsl:sort select="@ident"/>
          <xsl:call-template name="refDocLink"/>
        </xsl:for-each>
      </div>
    </xsl:if>
  </xsl:for-each>
  <xsl:apply-templates mode="weave" select="key('MACRODOCS',1)">
    <xsl:sort select="@ident"/>
  </xsl:apply-templates>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:divGen[@type='elementcat']
Namespace No namespace
Match tei:divGen[@type='elementcat']
Mode #default
References
Import precedence 4
Priority 100
Source
<xsl:template match="tei:divGen[@type='elementcat']" priority="100">
  <div class="atozwrapper">
    <xsl:call-template name="atozHeader">
      <xsl:with-param name="Key">ELEMENT-ALPHA</xsl:with-param>
    </xsl:call-template>
    <xsl:for-each select="key('ELEMENTDOCS',1)">
      <xsl:sort select="translate(@ident,$uc,$lc)"/>
      <xsl:variable name="letter">
        <xsl:value-of select="substring(@ident,1,1)"/>
      </xsl:variable>
      <xsl:if test="generate-id(.)=generate-id(key('ELEMENT-ALPHA',$letter)[1])">
        <div id="element-{$letter}" class="atoz">
          <span class="listhead">
            <xsl:value-of select="$letter"/>
          </span>
          <ul class="atoz">
            <xsl:for-each select="key('ELEMENT-ALPHA',$letter)">
              <xsl:sort select="@ident"/>
              <li>
                <xsl:call-template name="refDocLink"/>
              </li>
            </xsl:for-each>
          </ul>
        </div>
      </xsl:if>
    </xsl:for-each>
  </div>
  <div id="byMod">
    <xsl:for-each select="key('ELEMENTDOCS',1)">
      <xsl:sort select="@module"/>
      <xsl:if test="generate-id(.)=generate-id(key('ELEMENT-MODULE',@module)[1])">
        <div>
          <h3>
            <xsl:for-each select="key('MODULES',@module)">
              <xsl:text>[</xsl:text>
              <xsl:value-of select="@ident"/>
              <xsl:text>] </xsl:text>
              <xsl:call-template name="makeDescription"/>
            </xsl:for-each>
          </h3>
          <xsl:for-each select="key('ELEMENT-MODULE',@module)">
            <xsl:sort select="@ident"/>
            <xsl:call-template name="refDocLink"/>
          </xsl:for-each>
        </div>
      </xsl:if>
    </xsl:for-each>
  </div>
  <xsl:for-each select="key('ELEMENTDOCS',1)">
    <xsl:apply-templates mode="weave" select="."/>
  </xsl:for-each>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template refDocLink
Namespace No namespace
Used by
References
Import precedence 4
Source
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:divGen[@type='modelclasscat']
Namespace No namespace
Match tei:divGen[@type='modelclasscat']
Mode #default
References
Import precedence 4
Priority 100
Source
<xsl:template match="tei:divGen[@type='modelclasscat']" priority="100">
  <div class="atozwrapper">
    <xsl:call-template name="atozHeader">
      <xsl:with-param name="Key">MODEL-CLASS-ALPHA</xsl:with-param>
    </xsl:call-template>
    <xsl:for-each select="key('MODELCLASSDOCS',1)">
      <xsl:sort select="translate(substring-after(@ident,'model.'),$uc,$lc)"/>
      <xsl:variable name="letter">
        <xsl:value-of select="substring(@ident,7,1)"/>
      </xsl:variable>
      <xsl:if test="generate-id(.)=generate-id(key('MODEL-CLASS-ALPHA',$letter)[1])">
        <div id="element-{$letter}" class="atoz">
          <span class="listhead">
            <xsl:value-of select="$letter"/>
          </span>
          <ul class="atoz">
            <xsl:for-each select="key('MODEL-CLASS-ALPHA',$letter)">
              <xsl:sort select="translate(substring-after(@ident,'model.'),$lc,$uc)"/>
              <li>
                <xsl:call-template name="refDocLink"/>
              </li>
            </xsl:for-each>
          </ul>
        </div>
      </xsl:if>
    </xsl:for-each>
  </div>
  <div id="byMod">
    <xsl:for-each select="key('MODELCLASSDOCS',1)">
      <xsl:sort select="@module"/>
      <xsl:if test="generate-id(.)=generate-id(key('MODEL-CLASS-MODULE',@module)[1])">
        <div>
          <h3>
            <xsl:for-each select="key('MODULES',@module)">
              <xsl:text>[</xsl:text>
              <xsl:value-of select="@ident"/>
              <xsl:text>] </xsl:text>
              <xsl:call-template name="makeDescription"/>
            </xsl:for-each>
          </h3>
          <xsl:for-each select="key('MODEL-CLASS-MODULE',@module)">
            <xsl:sort select="@ident"/>
            <xsl:call-template name="refDocLink"/>
          </xsl:for-each>
        </div>
      </xsl:if>
    </xsl:for-each>
  </div>
  <xsl:for-each select="key('MODELCLASSDOCS',1)">
    <xsl:apply-templates select="." mode="weave"/>
  </xsl:for-each>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template tei:divGen[@type='attclasscat']
Namespace No namespace
Match tei:divGen[@type='attclasscat']
Mode #default
References
Import precedence 4
Priority 100
Source
<xsl:template match="tei:divGen[@type='attclasscat']" priority="100">
  <div class="atozwrapper">
    <xsl:call-template name="atozHeader">
      <xsl:with-param name="Key">ATT-CLASS-ALPHA</xsl:with-param>
    </xsl:call-template>
    <xsl:for-each select="key('ATTCLASSDOCS',1)">
      <xsl:sort select="translate(substring-after(@ident,'att.'),$uc,$lc)"/>
      <xsl:variable name="letter">
        <xsl:value-of select="substring(@ident,5,1)"/>
      </xsl:variable>
      <xsl:if test="generate-id(.)=generate-id(key('ATT-CLASS-ALPHA',$letter)[1])">
        <div id="element-{$letter}" class="atoz">
          <span class="listhead">
            <xsl:value-of select="$letter"/>
          </span>
          <ul class="atoz">
            <xsl:for-each select="key('ATT-CLASS-ALPHA',$letter)">
              <xsl:sort select="translate(substring-after(@ident,'att.'),$lc,$uc)"/>
              <li>
                <xsl:call-template name="refDocLink"/>
              </li>
            </xsl:for-each>
          </ul>
        </div>
      </xsl:if>
    </xsl:for-each>
  </div>
  <div id="byMod">
    <xsl:for-each select="key('ATTCLASSDOCS',1)">
      <xsl:sort select="@module"/>
      <xsl:if test="generate-id(.)=generate-id(key('ATT-CLASS-MODULE',@module)[1])">
        <div>
          <h3>
            <xsl:for-each select="key('MODULES',@module)">
              <xsl:text>[</xsl:text>
              <xsl:value-of select="@ident"/>
              <xsl:text>] </xsl:text>
              <xsl:call-template name="makeDescription"/>
            </xsl:for-each>
          </h3>
          <xsl:for-each select="key('ATT-CLASS-MODULE',@module)">
            <xsl:call-template name="refDocLink"/>
          </xsl:for-each>
        </div>
      </xsl:if>
    </xsl:for-each>
  </div>
  <xsl:apply-templates mode="weave" select="key('ATTCLASSDOCS',1)">
    <xsl:sort select="@ident"/>
  </xsl:apply-templates>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template javascriptHook
Namespace No namespace
Used by
References
Template jsForOdds
Supersedes
Template javascriptHook
Import precedence 4
Source
<xsl:template name="javascriptHook">
  <xsl:call-template name="jsForOdds"/>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template jsForOdds
Namespace No namespace
Used by
Template javascriptHook
Import precedence 4
Source
<xsl:template name="jsForOdds">
  <script type="text/javascript">
    <xsl:comment>
      <xsl:text disable-output-escaping="yes">
var displayXML=0;
states=new Array()
states[0]="element-a"
states[1]="element-b"
states[2]="element-c"
states[3]="element-d"
states[4]="element-e"
states[5]="element-f"
states[6]="element-g"
states[7]="element-h"
states[8]="element-i"
states[9]="element-j"
states[10]="element-k"
states[11]="element-l"
states[12]="element-m"
states[13]="element-n"
states[14]="element-o"
states[15]="element-p"
states[16]="element-q"
states[17]="element-r"
states[18]="element-s"
states[19]="element-t"
states[20]="element-u"
states[21]="element-v"
states[22]="element-w"
states[23]="element-x"
states[24]="element-y"
states[25]="element-z"

function startUp() {

}

function hideallExcept(elm) {
for (var i = 0; i < states.length; i++) {
 var layer;
 if (layer = document.getElementById(states[i]) ) {
  if (states[i] != elm) {
    layer.style.display = "none";
  }
  else {
   layer.style.display = "block";
      }
  }
 }
 var mod;
 if ( mod = document.getElementById('byMod') ) {
     mod.style.display = "none";
 }
}

function showall() {
 for (var i = 0; i < states.length; i++) {
   var layer;
   if (layer = document.getElementById(states[i]) ) {
      layer.style.display = "block";
      }
  }
}

function showByMod() {
  hideallExcept('');
  var mod;
  if (mod = document.getElementById('byMod') ) {
     mod.style.display = "block";
     }
}

	</xsl:text>
    </xsl:comment>
  </script>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template identifyElement
Namespace No namespace
Used by
Parameters
QName Namespace
id No namespace
Import precedence 4
Source
<xsl:template name="identifyElement">
  <xsl:param name="id"/>
  <xsl:attribute name="id">
    <xsl:value-of select="$id"/>
  </xsl:attribute>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template guidelinesTop
Namespace No namespace
Used by
Template refdoc
References
Template stdheader
Parameters
QName Namespace
name No namespace
Import precedence 4
Source
<xsl:template name="guidelinesTop">
  <xsl:param name="name"/>
  <div id="hdr">
    <xsl:call-template name="stdheader">
      <xsl:with-param name="title">
        <xsl:value-of select="$name"/>
      </xsl:with-param>
    </xsl:call-template>
  </div>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Template atozHeader
Namespace No namespace
Used by
References
Template i18n
Parameters
QName Namespace
Key No namespace
Import precedence 4
Source
<xsl:template name="atozHeader">
  <xsl:param name="Key"/>
  <div id="azindex">
    <span>
      <xsl:call-template name="i18n">
        <xsl:with-param name="word">Sorted alphabetically</xsl:with-param>
      </xsl:call-template>
    </span>
    <ul class="index">
      <xsl:if test="count(key($Key,'a'))>0">
        <li>
          <a onclick="hideallExcept('element-a');" href="#">a</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'b'))>0">
        <li>
          <a onclick="hideallExcept('element-b');" href="#">b</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'c'))>0">
        <li>
          <a onclick="hideallExcept('element-c');" href="#">c</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'d'))>0">
        <li>
          <a onclick="hideallExcept('element-d');" href="#">d</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'e'))>0">
        <li>
          <a onclick="hideallExcept('element-e');" href="#">e</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'f'))>0">
        <li>
          <a onclick="hideallExcept('element-f');" href="#">f</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'g'))>0">
        <li>
          <a onclick="hideallExcept('element-g');" href="#">g</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'h'))>0">
        <li>
          <a onclick="hideallExcept('element-h');" href="#">h</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'i'))>0">
        <li>
          <a onclick="hideallExcept('element-i');" href="#">i</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'j'))>0">
        <li>
          <a onclick="hideallExcept('element-j');" href="#">j</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'k'))>0">
        <li>
          <a onclick="hideallExcept('element-k');" href="#">k</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'l'))>0">
        <li>
          <a onclick="hideallExcept('element-l');" href="#">l</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'m'))>0">
        <li>
          <a onclick="hideallExcept('element-m');" href="#">m</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'n'))>0">
        <li>
          <a onclick="hideallExcept('element-n');" href="#">n</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'o'))>0">
        <li>
          <a onclick="hideallExcept('element-o');" href="#">o</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'p'))>0">
        <li>
          <a onclick="hideallExcept('element-p');" href="#">p</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'q'))>0">
        <li>
          <a onclick="hideallExcept('element-q');" href="#">q</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'r'))>0">
        <li>
          <a onclick="hideallExcept('element-r');" href="#">r</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'s'))>0">
        <li>
          <a onclick="hideallExcept('element-s');" href="#">s</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'t'))>0">
        <li>
          <a onclick="hideallExcept('element-t');" href="#">t</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'u'))>0">
        <li>
          <a onclick="hideallExcept('element-u');" href="#">u</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'v'))>0">
        <li>
          <a onclick="hideallExcept('element-v');" href="#">v</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'w'))>0">
        <li>
          <a onclick="hideallExcept('element-w');" href="#">w</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'x'))>0">
        <li>
          <a onclick="hideallExcept('element-x');" href="#">x</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'y'))>0">
        <li>
          <a onclick="hideallExcept('element-y');" href="#">y</a>
        </li>
      </xsl:if>
      <xsl:if test="count(key($Key,'z'))>0">
        <li>
          <a onclick="hideallExcept('element-z');" href="#">z</a>
        </li>
      </xsl:if>
      <li class="showall">
        <a onclick="showall();" href="#">
          <xsl:call-template name="i18n">
            <xsl:with-param name="word">Show all</xsl:with-param>
          </xsl:call-template>
        </a>
      </li>
      <li class="showall">
        <a onclick="showByMod();" href="#">
          <xsl:call-template name="i18n">
            <xsl:with-param name="word">Show by module</xsl:with-param>
          </xsl:call-template>
        </a>
      </li>
    </ul>
  </div>
</xsl:template>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter cssFile
Namespace No namespace
Supersedes
Parameter cssFile
Overriding
Parameter cssFile
Source
<xsl:param name="cssFile"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter cssSecondaryFile
Namespace No namespace
Supersedes
Parameter cssSecondaryFile
Overriding
Parameter cssSecondaryFile
Source
<xsl:param name="cssSecondaryFile"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter summaryDoc
Namespace No namespace
Used by
Template schemaSpecWeave
Source
<xsl:param name="summaryDoc">false</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter oddmode
Namespace No namespace
Overriding
Parameter oddmode
Source
<xsl:param name="oddmode">html</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter xrefName
Namespace No namespace
Used by
Source
<xsl:param name="xrefName">a</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter urlName
Namespace No namespace
Used by
Source
<xsl:param name="urlName">href</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter ulName
Namespace No namespace
Used by
Source
<xsl:param name="ulName">ul</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter dlName
Namespace No namespace
Used by
Source
<xsl:param name="dlName">dl</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter codeName
Namespace No namespace
Used by
Source
<xsl:param name="codeName">span</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter colspan
Namespace No namespace
Used by
Source
<xsl:param name="colspan">colspan</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter ddName
Namespace No namespace
Used by
Source
<xsl:param name="ddName">dd</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter dtName
Namespace No namespace
Used by
Source
<xsl:param name="dtName">dt</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter hiName
Namespace No namespace
Used by
Source
<xsl:param name="hiName">span</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter itemName
Namespace No namespace
Used by
Source
<xsl:param name="itemName">li</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter labelName
Namespace No namespace
Used by
Template tei:moduleSpec
Source
<xsl:param name="labelName">dt</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter rendName
Namespace No namespace
Used by
Source
<xsl:param name="rendName">class</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter rowName
Namespace No namespace
Used by
Source
<xsl:param name="rowName">tr</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter tableName
Namespace No namespace
Used by
Source
<xsl:param name="tableName">table</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter cellName
Namespace No namespace
Used by
Source
<xsl:param name="cellName">td</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter divName
Namespace No namespace
Used by
Source
<xsl:param name="divName">div</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter sectionName
Namespace No namespace
Used by
Source
<xsl:param name="sectionName">div</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter segName
Namespace No namespace
Used by
Source
<xsl:param name="segName">span</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Parameter outputNS
Namespace No namespace
Used by
Source
<xsl:param name="outputNS">http://www.w3.org/1999/xhtml</xsl:param>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Variable top
Namespace No namespace
Select /
Supersedes
Variable top
Overriding
Parameter top
Source
<xsl:variable name="top" select="/"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key NameToID
Namespace No namespace
Match tei:*
Use @ident
Overriding
Key NameToID
Source
<xsl:key match="tei:*" name="NameToID" use="@ident"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key MODEL-CLASS-MODULE
Namespace No namespace
Match tei:classSpec[@type='model']
Use @module
Used by
Source
<xsl:key name="MODEL-CLASS-MODULE" match="tei:classSpec[@type='model']" use="@module"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key ATT-CLASS-MODULE
Namespace No namespace
Match tei:classSpec[@type='atts']
Use @module
Used by
Source
<xsl:key name="ATT-CLASS-MODULE" match="tei:classSpec[@type='atts']" use="@module"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key ELEMENT-MODULE
Namespace No namespace
Match tei:elementSpec
Use @module
Used by
Source
<xsl:key name="ELEMENT-MODULE" match="tei:elementSpec" use="@module"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key MACRO-MODULE
Namespace No namespace
Match tei:macroSpec
Use @module
Used by
Source
<xsl:key name="MACRO-MODULE" match="tei:macroSpec" use="@module"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key ELEMENT-ALPHA
Namespace No namespace
Match tei:elementSpec
Use substring(translate(@ident,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,1)
Used by
Source
<xsl:key name="ELEMENT-ALPHA" match="tei:elementSpec" use="substring(translate(@ident,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,1)"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key MODEL-CLASS-ALPHA
Namespace No namespace
Match tei:classSpec[@type='model']
Use substring(translate(@ident,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),7,1)
Used by
Source
<xsl:key name="MODEL-CLASS-ALPHA" match="tei:classSpec[@type='model']" use="substring(translate(@ident,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),7,1)"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key ATT-CLASS-ALPHA
Namespace No namespace
Match tei:classSpec[@type='atts']
Use substring(translate(@ident,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),5,1)
Used by
Source
<xsl:key name="ATT-CLASS-ALPHA" match="tei:classSpec[@type='atts']" use="substring(translate(@ident,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),5,1)"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl
Key FILES
Namespace No namespace
Match tei:moduleSpec[@ident]
Use @ident
Source
<xsl:key match="tei:moduleSpec[@ident]" name="FILES" use="@ident"/>
Stylesheet location ../../../xhtml2/oddprocessing.xsl