1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<!-- $Id: teisurplus.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
|
<!-- Contains template for surplus -->
|
7
|
|
8
|
<xsl:template match="t:surplus">
|
9
|
<xsl:param name="parm-edn-structure" tunnel="yes" required="no"></xsl:param>
|
10
|
<xsl:choose>
|
11
|
<xsl:when test="$parm-edn-structure = 'rib'">
|
12
|
<xsl:text>< </xsl:text><xsl:apply-templates/><xsl:text> ></xsl:text>
|
13
|
</xsl:when>
|
14
|
<xsl:otherwise>
|
15
|
<xsl:text>{</xsl:text>
|
16
|
<xsl:apply-templates/>
|
17
|
<!-- cert-low template found in tpl-certlow.xsl -->
|
18
|
<xsl:call-template name="cert-low"/>
|
19
|
<xsl:text>}</xsl:text>
|
20
|
</xsl:otherwise>
|
21
|
</xsl:choose>
|
22
|
</xsl:template>
|
23
|
|
24
|
</xsl:stylesheet>
|