Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- $Id: teiq.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
    
7
    <xsl:template match="t:q">
8
        <xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
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>&#8216;</xsl:text><xsl:apply-templates/><xsl:text>&#8217;</xsl:text>
13
            </xsl:when>
14
            <xsl:when test="($parm-leiden-style = 'ddbdp' or $parm-leiden-style = 'sammelbuch')">
15
                <xsl:text>'</xsl:text>
16
                <xsl:apply-templates/>
17
                <xsl:text>'</xsl:text>
18
            </xsl:when>
19
            <xsl:otherwise>
20
                <xsl:apply-templates/>
21
            </xsl:otherwise>
22
        </xsl:choose>
23
    </xsl:template>
24
    
25
</xsl:stylesheet>
(64-64/95)