-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteisurplus.xsl
More file actions
24 lines (22 loc) · 933 Bytes
/
teisurplus.xsl
File metadata and controls
24 lines (22 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:t="http://www.tei-c.org/ns/1.0" exclude-result-prefixes="t"
version="2.0">
<!-- Contains template for surplus -->
<xsl:template match="t:surplus">
<xsl:param name="parm-edn-structure" tunnel="yes" required="no"></xsl:param>
<xsl:choose>
<xsl:when test="$parm-edn-structure = 'rib'">
<xsl:text>< </xsl:text><xsl:apply-templates/><xsl:text> ></xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>{</xsl:text>
<xsl:apply-templates/>
<!-- cert-low template found in tpl-certlow.xsl -->
<xsl:call-template name="cert-low"/>
<xsl:text>}</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>