forked from EpiDoc/Stylesheets
-
Notifications
You must be signed in to change notification settings - Fork 1
/
teicertainty.xsl
23 lines (21 loc) · 933 Bytes
/
teicertainty.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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">
<xsl:template match="t:certainty">
<xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
<xsl:choose>
<xsl:when test="$parm-leiden-style=('ddbdp','sammelbuch','iospe')">
<xsl:if test="@match='..'">
<xsl:text>(?)</xsl:text>
</xsl:if>
</xsl:when>
<xsl:when test="@match='..'">
<xsl:text>?</xsl:text>
</xsl:when>
<!--<xsl:otherwise>
<xsl:message>no template in teicertainty.xsl for your use of certainty. Doc: <xsl:value-of select="tokenize(base-uri(),'/')[last()]"></xsl:value-of></xsl:message>
</xsl:otherwise>-->
</xsl:choose>
</xsl:template>
</xsl:stylesheet>