Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- $Id: tpl-certlow.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" 
5
                version="2.0">
6
  <!-- Called by many different elements -->
7
  
8
  <xsl:template name="cert-low">
9
      <xsl:param name="parm-edition-type" tunnel="yes" required="no"></xsl:param>
10
      <xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
11
      <xsl:if test="@cert='low' and $parm-edition-type != 'diplomatic'">
12
          <xsl:if test="not($parm-leiden-style = ('london','panciera','iospe') and local-name() = ('ex','supplied'))">
13
           <xsl:text>(</xsl:text>
14
        </xsl:if>
15
        <xsl:text>?</xsl:text>
16
          <xsl:if test="not($parm-leiden-style = ('london','panciera','iospe') and local-name() = ('ex','supplied'))">
17
           <xsl:text>)</xsl:text>
18
        </xsl:if>
19
      </xsl:if>
20
  </xsl:template>
21
  
22
</xsl:stylesheet>
(73-73/95)