Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- $Id: teicertainty.xsl 2090 2013-10-24 15:23:22Z gabrielbodard $ -->
3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
   xmlns:t="http://www.tei-c.org/ns/1.0" exclude-result-prefixes="t"  version="2.0">
5

    
6
   <xsl:template match="t:certainty">
7
       <xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
8
       <xsl:choose>
9
           <xsl:when test="$parm-leiden-style=('ddbdp','sammelbuch','iospe')">
10
            <xsl:if test="@match='..'">
11
               <xsl:text>(?)</xsl:text>
12
            </xsl:if>
13
         </xsl:when>
14
         <xsl:when test="@match='..'">
15
            <xsl:text>?</xsl:text>
16
         </xsl:when>
17
         <xsl:otherwise>
18
            <xsl:message>no template in teicertainty.xsl for your use of certainty. Doc: <xsl:value-of select="tokenize(base-uri(),'/')[last()]"></xsl:value-of></xsl:message>
19
         </xsl:otherwise>
20
      </xsl:choose>
21
   </xsl:template>
22

    
23
</xsl:stylesheet>
(50-50/95)