-
Notifications
You must be signed in to change notification settings - Fork 0
/
txt-teig.xsl
36 lines (31 loc) · 1.17 KB
/
txt-teig.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?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"
version="2.0">
<!-- Import templates can be found in teig.xsl -->
<xsl:import href="teig.xsl"/>
<xsl:template match="t:g">
<xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
<xsl:call-template name="lb-dash"/>
<xsl:call-template name="w-space"/>
<xsl:choose>
<xsl:when test="starts-with($parm-leiden-style, 'edh')"/>
<xsl:when test="($parm-leiden-style = ('ddbdp','dclp','sammelbuch'))">
<xsl:call-template name="g-ddbdp"/>
</xsl:when>
<xsl:when test="$parm-leiden-style = 'dohnicht'">
<xsl:text>⊂</xsl:text>
<xsl:apply-imports/>
<xsl:text>⊃</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>((</xsl:text>
<xsl:apply-imports/>
<xsl:text>))</xsl:text>
</xsl:otherwise>
</xsl:choose>
<!-- Found in teig.xsl -->
<xsl:call-template name="w-space"/>
</xsl:template>
</xsl:stylesheet>