Showing:

Documentation
Parameters
Used by
References
Supersedes
Overriding
Imported from
Source
Stylesheet isoutils.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: isoutils.xsl 9646 2011-11-05 23:39:08Z rahtz $

Copyright: 2008, TEI Consortium

Imported from
Stylesheet version 2.0
Template whatsTheDate
Namespace No namespace
Used by
Template stdfooter
Supersedes
Template whatsTheDate
Import precedence 7
Source
<xsl:template name="whatsTheDate">
  <xsl:value-of select="format-dateTime(current-dateTime(),'[Y]-[M02]-[D02]T[H02]:[m02]:[s02]Z')"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template getiso_meta
Namespace No namespace
References
Key ISOMETA
Parameters
QName Namespace
meta No namespace
Import precedence 7
Source
<xsl:template name="getiso_meta">
  <xsl:param name="meta"/>
  <xsl:value-of select="key('ISOMETA',$meta)"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template getiso_year
Documentation

Description

      <xsl:choose>
      <xsl:when test="string-length(.)&gt;0">
      <xsl:text>(</xsl:text>
      <xsl:value-of select="."/>
      <xsl:text>)</xsl:text>
      <xsl:choose>
      <xsl:when test=".='20'">Preparation</xsl:when>
      <xsl:when test=".='30'">Committee</xsl:when>
      <xsl:when test=".='40'">Enquiry</xsl:when>
      <xsl:when test=".='50'">Approval</xsl:when>
      <xsl:when test=".='60'">Publication</xsl:when>
      </xsl:choose>
      </xsl:when>
      <xsl:otherwise>
      [unspecified]
      </xsl:otherwise>
      </xsl:choose>
  
Namespace No namespace
Used by
Template docID
References
Key ISOMETA
Import precedence 7
Source
<xsl:template name="getiso_year">
  <xsl:value-of select="substring(key('ISOMETA','docdate'),1,4)"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template generateTitle
Namespace No namespace
Used by
References
Key ISOMETA
Supersedes
Template generateTitle
Import precedence 7
Source
<xsl:template name="generateTitle">
  <xsl:choose>
    <xsl:when test="key('ISOMETA','fullTitle')!=''">
      <xsl:value-of select="key('ISOMETA','fullTitle')"/>
    </xsl:when>
    <xsl:when test="key('ISOMETA','mainTitle')">
      <xsl:value-of select="key('ISOMETA','introductoryTitle')"/>
      <xsl:text></xsl:text>
      <xsl:value-of select="key('ISOMETA','mainTitle')"/>
      <xsl:if test="key('ISOMETA','complementaryTitle')">
        <xsl:text></xsl:text>
        <xsl:value-of select="key('ISOMETA','complementaryTitle')"/>
      </xsl:if>
    </xsl:when>
    <xsl:otherwise>
      <xsl:for-each select="ancestor-or-self::tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt">
        <xsl:choose>
          <xsl:when test="tei:title[@type='main']">
            <xsl:apply-templates select="tei:title"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:apply-templates select="tei:title"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:for-each>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template getiso_copyright
Namespace No namespace
Import precedence 7
Source
<xsl:template name="getiso_copyright">
  <xsl:apply-templates select="ancestor-or-self::tei:TEI/tei:teiHeader/tei:fileDesc/tei:publicationStmt/tei:availability[1]" mode="titlepage">
    <xsl:with-param name="style">zzCopyright</xsl:with-param>
  </xsl:apply-templates>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template getiso_coverWarning
Namespace No namespace
Import precedence 7
Source
<xsl:template name="getiso_coverWarning">
  <xsl:apply-templates select="ancestor-or-self::tei:TEI/tei:teiHeader/tei:fileDesc/tei:publicationStmt/tei:availability[2]" mode="titlepage">
    <xsl:with-param name="style">coverwarning</xsl:with-param>
  </xsl:apply-templates>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template getiso_header
Namespace No namespace
References
Key ISOMETA
Import precedence 7
Source
<xsl:template name="getiso_header">
  <xsl:value-of select="key('ISOMETA','secretariat')"/>
  <xsl:variable name="stage">
    <xsl:value-of select="key('ISOMETA','docStage')"/>
  </xsl:variable>
  <xsl:choose>
    <xsl:when test="$stage='40'">/DIS</xsl:when>
    <xsl:when test="$stage='50'">/FDIS</xsl:when>
  </xsl:choose>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template docID
Namespace No namespace
References
Key ISOMETA
Template getiso_year
Import precedence 7
Source
<xsl:template name="docID">
  <xsl:variable name="doclang">
    <xsl:value-of select="ancestor-or-self::tei:TEI/@xml:lang"/>
  </xsl:variable>
  <xsl:variable name="stage">
    <xsl:value-of select="key('ISOMETA','docStage')"/>
  </xsl:variable>
  <xsl:value-of select="key('ISOMETA','docNumber')"/>
  <xsl:text>-</xsl:text>
  <xsl:value-of select="key('ISOMETA','docPartNumber')"/>
  <xsl:choose>
    <xsl:when test="$stage='20'"/>
    <xsl:when test="$stage='30'"/>
    <xsl:when test="$stage='40'"/>
    <xsl:otherwise>
      <xsl:text>:</xsl:text>
      <xsl:call-template name="getiso_year"/>
      <xsl:choose>
        <xsl:when test="starts-with($doclang,'en')">(E)</xsl:when>
        <xsl:when test="starts-with($doclang,'fr')">(F)</xsl:when>
      </xsl:choose>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template getiso_authority
Namespace No namespace
References
Key ISOMETA
Import precedence 7
Source
<xsl:template name="getiso_authority">
  <xsl:value-of select="key('ISOMETA','secretariat')"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template getiso_documentNumber
Namespace No namespace
References
Key ISOMETA
Import precedence 7
Source
<xsl:template name="getiso_documentNumber">
  <xsl:value-of select="key('ISOMETA','referenceNumber')"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template getiso_partNumber
Namespace No namespace
References
Key ISOMETA
Import precedence 7
Source
<xsl:template name="getiso_partNumber">
  <xsl:value-of select="key('ISOMETA','partNumber')"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template Identify
Namespace No namespace
Used by
Template Identify
References
Templates Identify; LabelChange
Import precedence 7
Source
<xsl:template name="Identify">
  <xsl:for-each select="ancestor::cals:entry">
    <xsl:text> </xsl:text>
    <xsl:call-template name="Identify"/>
    <xsl:text> </xsl:text>
  </xsl:for-each>
  <xsl:choose>
    <xsl:when test="self::tei:p">
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">Paragraph</xsl:with-param>
        <xsl:with-param name="N">
          <xsl:number/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="self::tei:item">
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">List item</xsl:with-param>
        <xsl:with-param name="N">
          <xsl:number/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="self::tei:head">
      <xsl:choose>
        <xsl:when test="count(ancestor::tei:div)=1">Clause title</xsl:when>
        <xsl:otherwise>Clause subtitle</xsl:otherwise>
      </xsl:choose>
    </xsl:when>
    <xsl:when test="self::cals:entry">
      <xsl:for-each select="ancestor::cals:table">
        <xsl:text>Table </xsl:text>
        <xsl:number level="any"/>
        <xsl:text>, </xsl:text>
      </xsl:for-each>
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">row</xsl:with-param>
        <xsl:with-param name="N">
          <xsl:for-each select="parent::cals:row">
            <xsl:number/>
          </xsl:for-each>
        </xsl:with-param>
      </xsl:call-template>
      <xsl:text>, </xsl:text>
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">cell</xsl:with-param>
        <xsl:with-param name="N">
          <xsl:number/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="self::tei:term">
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">Terminology entry</xsl:with-param>
        <xsl:with-param name="N">
          <xsl:number/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="self::tbx:term">
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">Term</xsl:with-param>
        <xsl:with-param name="N">
          <xsl:value-of select="substring-after(@id,'user_')"/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="self::tei:bibl">
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">Bibliographical entry</xsl:with-param>
        <xsl:with-param name="N">
          <xsl:number/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:when test="self::tei:math">
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">math</xsl:with-param>
        <xsl:with-param name="N">
          <xsl:number/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
      <xsl:call-template name="LabelChange">
        <xsl:with-param name="What">
          <xsl:value-of select="local-name()"/>
        </xsl:with-param>
        <xsl:with-param name="N">
          <xsl:number/>
        </xsl:with-param>
      </xsl:call-template>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template LabelChange
Namespace No namespace
Used by
Template Identify
Parameters
QName Namespace
N No namespace
What No namespace
Import precedence 7
Source
<xsl:template name="LabelChange">
  <xsl:param name="What"/>
  <xsl:param name="N"/>
  <xsl:choose>
    <xsl:when test="not(number($N))">
      <xsl:value-of select="$What"/>
      <xsl:text> </xsl:text>
      <xsl:value-of select="$N"/>
    </xsl:when>
    <xsl:when test="$N=1">
      <xsl:text>1st </xsl:text>
      <xsl:value-of select="$What"/>
    </xsl:when>
    <xsl:when test="$N=2">
      <xsl:text>2nd </xsl:text>
      <xsl:value-of select="$What"/>
    </xsl:when>
    <xsl:when test="$N=3">
      <xsl:text>3rd </xsl:text>
      <xsl:value-of select="$What"/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:value-of select="$N"/>
      <xsl:text>th </xsl:text>
      <xsl:value-of select="$What"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template simpleRun
Namespace No namespace
Overriding
Template simpleRun
Parameters
QName Namespace
italic No namespace
prefix No namespace
text No namespace
Import precedence 7
Source
<xsl:template name="simpleRun">
  <xsl:param name="prefix"/>
  <xsl:param name="text"/>
  <xsl:param name="italic"/>
  <xsl:value-of select="$prefix"/>
  <xsl:value-of select="$text"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:publisher
Documentation

Description

 all the special bibl components 
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:publisher
Mode #default
References
Templates ISOCITE; simpleRun
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:publisher">
  <xsl:variable name="ref">
    <xsl:call-template name="ISOCITE"/>
  </xsl:variable>
  <xsl:call-template name="simpleRun">
    <xsl:with-param name="text">
      <xsl:value-of select="translate($ref,' ',' ')"/>
    </xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template ISOCITE
Namespace No namespace
Used by
Import precedence 7
Source
<xsl:template name="ISOCITE">
  <xsl:value-of select="."/>
  <xsl:for-each select="..">
    <xsl:for-each select="tei:idno[@type='documentType']">
      <xsl:choose>
        <xsl:when test="contains(../tei:publisher,'/')">
          <xsl:text> </xsl:text>
        </xsl:when>
        <xsl:otherwise>
          <xsl:text>/</xsl:text>
        </xsl:otherwise>
      </xsl:choose>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:text> </xsl:text>
    <xsl:for-each select="tei:idno[@type='docNumber']">
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:idno[@type='parts']">
      <xsl:text> </xsl:text>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:idno[@type='docPartNumber']">
      <xsl:choose>
        <xsl:when test=".='(all parts)'">
          <xsl:text> </xsl:text>
        </xsl:when>
        <xsl:otherwise>
          <xsl:text>-</xsl:text>
        </xsl:otherwise>
      </xsl:choose>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:edition">
      <xsl:text>:</xsl:text>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:idno[@type='supplType']">
      <xsl:text>/</xsl:text>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:idno[@type='supplNumber']">
      <xsl:text>.</xsl:text>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:idno[@type='supplYear']">
      <xsl:text>:</xsl:text>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:idno[@type='corrType']">
      <xsl:text>/</xsl:text>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:idno[@type='corrNumber']">
      <xsl:text>.</xsl:text>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
    <xsl:for-each select="tei:idno[@type='corrYear']">
      <xsl:text>:</xsl:text>
      <xsl:value-of select="normalize-space(.)"/>
    </xsl:for-each>
  </xsl:for-each>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='docPartNumber']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='docPartNumber']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='docPartNumber']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='docNumber']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='docNumber']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='docNumber']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='corrNumber']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='corrNumber']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='corrNumber']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='corrType']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='corrType']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='corrType']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='corrYear']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='corrYear']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='corrYear']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='documentType']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='documentType']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='documentType']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='parts']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='parts']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='parts']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='supplNumber']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='supplNumber']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='supplNumber']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='supplType']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='supplType']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='supplType']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:idno[@type='supplYear']
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:idno[@type='supplYear']
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:idno[@type='supplYear']"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:edition
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:edition
Mode #default
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:edition"/>
Stylesheet location ../isoutils.xsl
Template tei:listBibl/tei:bibl/tei:title
Namespace No namespace
Match tei:listBibl/tei:bibl/tei:title
Mode #default
References
Template simpleRun
Import precedence 7
Source
<xsl:template match="tei:listBibl/tei:bibl/tei:title">
  <xsl:call-template name="simpleRun">
    <xsl:with-param name="prefix">
      <xsl:if test="../tei:publisher">
        <!-- its structured -->
        <xsl:text>, </xsl:text>
      </xsl:if>
    </xsl:with-param>
    <xsl:with-param name="text">
      <xsl:apply-templates/>
    </xsl:with-param>
    <xsl:with-param name="italic">true</xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:termEntry
Documentation

Description

 generic TBX 
Namespace No namespace
Match tbx:termEntry
Mode #default
References
Template showTermEntry
Overriding
Template tbx:termEntry
Import precedence 7
Source
<xsl:template match="tbx:termEntry">
  <xsl:call-template name="showTermEntry"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template showTermEntry
Namespace No namespace
Used by
References
Templates block-element; termNum
Parameter showTBXMarkup
Import precedence 7
Source
<xsl:template name="showTermEntry">
  <xsl:for-each select="tbx:langSet">
    <xsl:call-template name="termNum"/>
    <xsl:for-each select="tbx:ntig">
      <xsl:variable name="Thing">
        <xsl:value-of select="substring-before(tbx:termGrp/tbx:termNote[@type='administrativeStatus'],'-admn-sts')"/>
      </xsl:variable>
      <xsl:variable name="style">
        <xsl:choose>
          <xsl:when test="$Thing='preferredTerm'">termPreferred</xsl:when>
          <xsl:when test="$Thing='deprecatedTerm'">termDeprecated</xsl:when>
          <xsl:when test="$Thing='admittedTerm'">termAdmitted</xsl:when>
          <xsl:when test="$Thing='symbol'">termAdmitted</xsl:when>
          <xsl:otherwise>termPreferred</xsl:otherwise>
        </xsl:choose>
      </xsl:variable>
      <xsl:choose>
        <xsl:when test="tbx:termGrp/tbx:termNote[@type='administrativeStatus']/@iso:style='symbol'">
          <xsl:call-template name="block-element">
            <xsl:with-param name="pPr">
              <w:pPr>
                <w:pStyle w:val="{$style}"/>
                <w:rPr>
                  <w:rStyle w:val="symbol"/>
                </w:rPr>
              </w:pPr>
            </xsl:with-param>
          </xsl:call-template>
        </xsl:when>
        <xsl:otherwise>
          <xsl:call-template name="block-element">
            <xsl:with-param name="style" select="$style"/>
          </xsl:call-template>
        </xsl:otherwise>
      </xsl:choose>
    </xsl:for-each>
    <xsl:apply-templates select="tbx:descripGrp/tbx:descrip[@type='definition']"/>
    <xsl:apply-templates select="tbx:descrip[@type='definition']"/>
    <xsl:apply-templates select="tbx:descripGrp/tbx:descrip[@type='figure']"/>
    <xsl:apply-templates select="tbx:descrip[@type='figure']"/>
    <xsl:apply-templates select="tbx:descripGrp/tbx:descrip[@type='example']"/>
    <xsl:apply-templates select="tbx:descrip[@type='example']"/>
    <xsl:apply-templates select="tbx:note" mode="tbxnote"/>
    <xsl:apply-templates select="tbx:langSet/tbx:ntig[1]/tbx:note" mode="tbxnote"/>
    <xsl:apply-templates select="tbx:langSet/tbx:ntig[tbx:termGrp/tbx:termNote='symbol-admn-sts']/tbx:note" mode="tbxnote"/>
    <xsl:apply-templates select="tbx:descripGrp[tbx:descrip/@type='definition']/tbx:note" mode="tbxnote"/>
    <xsl:apply-templates select="tbx:descripGrp[tbx:descrip/@type='figure']/tbx:note" mode="tbxnote"/>
    <xsl:apply-templates select="tbx:descripGrp[tbx:descrip/@type='example']/tbx:note" mode="tbxnote"/>
    <xsl:apply-templates select="tbx:descripGrp/tbx:admin[@type='entrySource']"/>
  </xsl:for-each>
  <xsl:apply-templates select="tbx:descripGrp/tbx:descrip[@type='definition']"/>
  <xsl:apply-templates select="tbx:descrip[@type='definition']"/>
  <xsl:apply-templates select="tbx:descripGrp/tbx:descrip[@type='figure']"/>
  <xsl:apply-templates select="tbx:descrip[@type='figure']"/>
  <xsl:apply-templates select="tbx:descripGrp/tbx:descrip[@type='example']"/>
  <xsl:apply-templates select="tbx:descrip[@type='example']"/>
  <xsl:apply-templates select="tbx:note" mode="tbxnote"/>
  <xsl:apply-templates select="tbx:langSet/tbx:ntig[1]/tbx:note" mode="tbxnote"/>
  <xsl:apply-templates select="tbx:langSet/tbx:ntig[tbx:termGrp/tbx:termNote='symbol-admn-sts']/tbx:note" mode="tbxnote"/>
  <xsl:apply-templates select="tbx:descripGrp[tbx:descrip/@type='definition']/tbx:note" mode="tbxnote"/>
  <xsl:apply-templates select="tbx:descripGrp[tbx:descrip/@type='figure']/tbx:note" mode="tbxnote"/>
  <xsl:apply-templates select="tbx:descripGrp[tbx:descrip/@type='example']/tbx:note" mode="tbxnote"/>
  <xsl:apply-templates select="tbx:descripGrp/tbx:admin[@type='entrySource']"/>
  <xsl:if test="$showTBXMarkup='true'">
    <xsl:call-template name="block-element">
      <xsl:with-param name="select">
        <egXML xmlns="http://www.tei-c.org/ns/Examples">
          <xsl:copy-of select="."/>
        </egXML>
      </xsl:with-param>
    </xsl:call-template>
  </xsl:if>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:descripGrp
Namespace No namespace
Match tbx:descripGrp
Mode #default
Import precedence 7
Source
<xsl:template match="tbx:descripGrp">
  <xsl:apply-templates select="tbx:descrip"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:ntig
Namespace No namespace
Match tbx:ntig
Mode #default
Import precedence 7
Source
<xsl:template match="tbx:ntig">
  <xsl:apply-templates select="tbx:termGrp"/>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:descrip[@type='subjectField']
Namespace No namespace
Match tbx:descrip[@type='subjectField']
Mode #default
Import precedence 7
Source
<xsl:template match="tbx:descrip[@type='subjectField']"/>
Stylesheet location ../isoutils.xsl
Template tbx:descrip[@type='example' and not(@iso:class)]
Namespace No namespace
Match tbx:descrip[@type='example' and not(@iso:class)]
Mode #default
References
Template block-element
Import precedence 7
Source
<xsl:template match="tbx:descrip[@type='example' and not(@iso:class)]">
  <xsl:call-template name="block-element">
    <xsl:with-param name="style">Example</xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:descrip[@type='example' and @iso:class='numbered']
Namespace No namespace
Match tbx:descrip[@type='example' and @iso:class='numbered']
Mode #default
References
Template block-element
Import precedence 7
Source
<xsl:template match="tbx:descrip[@type='example' and @iso:class='numbered']">
  <xsl:call-template name="block-element">
    <xsl:with-param name="style">Examplenumbered</xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:descrip[@type='example' and @iso:class='list']
Namespace No namespace
Match tbx:descrip[@type='example' and @iso:class='list']
Mode #default
References
Template block-element
Import precedence 7
Source
<xsl:template match="tbx:descrip[@type='example' and @iso:class='list']">
  <xsl:call-template name="block-element">
    <xsl:with-param name="style">Examplelist</xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:descrip[@type='figure']
Namespace No namespace
Match tbx:descrip[@type='figure']
Mode #default
References
Template block-element
Import precedence 7
Source
<xsl:template match="tbx:descrip[@type='figure']">
  <xsl:call-template name="block-element">
    <xsl:with-param name="style">nonVerbalRepresentation</xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:note
Namespace No namespace
Match tbx:note
Mode #default
Import precedence 7
Source
<xsl:template match="tbx:note"/>
Stylesheet location ../isoutils.xsl
Template tbx:notetbxnote
Namespace No namespace
Match tbx:note
Mode tbxnote
References
Template block-element
Import precedence 7
Source
<xsl:template match="tbx:note" mode="tbxnote">
  <xsl:call-template name="block-element">
    <xsl:with-param name="style">
      <xsl:choose>
        <xsl:when test="parent::tbx:ntig[tbx:termGrp/tbx:termNote[@type='administrativeStatus'          and .='symbol-admn-sts']]">noteSymbol</xsl:when>
        <xsl:when test="parent::tbx:ntig">noteTerm</xsl:when>
        <xsl:when test="parent::tbx:termEntry">noteTermEntry</xsl:when>
        <xsl:when test="parent::tbx:descripGrp[tbx:descrip/@type='definition']">noteDefinition</xsl:when>
        <xsl:when test="parent::tbx:descripGrp[tbx:descrip/@type='figure']">noteNonVerbalRepresentation</xsl:when>
        <xsl:when test="parent::tbx:descripGrp[tbx:descrip/@type='example']">noteExample</xsl:when>
        <xsl:otherwise>noteTermEntryDefault</xsl:otherwise>
      </xsl:choose>
    </xsl:with-param>
  </xsl:call-template>
</xsl:template>
Stylesheet location ../isoutils.xsl
Template tbx:admin[@type='entrySource']
Namespace No namespace
Match tbx:admin[@type='entrySource']
Mode #default
References
Template block-element
Import precedence 7
Source
<xsl:template match="tbx:admin[@type='entrySource']">
  <xsl:variable name="a">
    <xsl:text>[SOURCE: </xsl:text>
    <xsl:copy-of select="*|text()"/>
    <xsl:text>]</xsl:text>
  </xsl:variable>
  <xsl:for-each select="$a">
    <xsl:call-template name="block-element">
      <xsl:with-param name="style">entrySource</xsl:with-param>
    </xsl:call-template>
  </xsl:for-each>
</xsl:template>
Stylesheet location ../isoutils.xsl
Parameter doclang
Namespace No namespace
Used by
Supersedes
Parameter doclang
Source
<xsl:param name="doclang">en</xsl:param>
Stylesheet location ../isoutils.xsl
Parameter showTBXMarkup
Namespace No namespace
Used by
Template showTermEntry
Source
<xsl:param name="showTBXMarkup">false</xsl:param>
Stylesheet location ../isoutils.xsl
Variable processor
Documentation

Description

 $Id: isoutils.xsl 9646 2011-11-05 23:39:08Z rahtz $ 
Namespace No namespace
Supersedes
Variable processor
Source
<xsl:variable name="processor">
  <xsl:value-of select="system-property('xsl:vendor')"/>
</xsl:variable>
Stylesheet location ../isoutils.xsl
Key ISOMETA
Namespace No namespace
Match *[@iso:meta]
Use @iso:meta
Used by
Source
<xsl:key name="ISOMETA" match="*[@iso:meta]" use="@iso:meta"/>
Stylesheet location ../isoutils.xsl
Key ALLMETA
Namespace No namespace
Match *[@iso:meta]
Use 1
Source
<xsl:key name="ALLMETA" match="*[@iso:meta]" use="1"/>
Stylesheet location ../isoutils.xsl