-
Notifications
You must be signed in to change notification settings - Fork 11
/
htm-teispace.xsl
51 lines (48 loc) · 1.81 KB
/
htm-teispace.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?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 name="space-content">
<xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
<xsl:param name="vacat"/>
<xsl:param name="extent"/>
<xsl:choose>
<xsl:when test="$parm-leiden-style = ('london','medcyprus')">
<i dir="ltr">
<!-- Found in teispace.xsl -->
<xsl:call-template name="space-content-1">
<xsl:with-param name="vacat" select="$vacat"/>
</xsl:call-template>
</i>
</xsl:when>
<xsl:when test="$parm-leiden-style = 'panciera'">
<!-- Found in teispace.xsl -->
<span dir="ltr">
<xsl:call-template name="space-content-2">
<xsl:with-param name="vacat" select="$vacat"/>
<xsl:with-param name="extent" select="$extent"/>
</xsl:call-template>
</span>
</xsl:when>
<xsl:otherwise>
<!-- Found in teispace.xsl -->
<span dir="ltr">
<xsl:call-template name="space-content-2">
<xsl:with-param name="vacat" select="$vacat"/>
<xsl:with-param name="extent" select="$extent"/>
</xsl:call-template>
</span>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="dip-space">
<em dir="ltr">
<span class="smaller">
<xsl:call-template name="space-content-1">
<xsl:with-param name="vacat" select="'vacat '"/>
</xsl:call-template>
</span>
</em>
</xsl:template>
</xsl:stylesheet>