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