forked from EpiDoc/Stylesheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fo-teiaddanddel.xsl
29 lines (23 loc) · 996 Bytes
/
fo-teiaddanddel.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
<!-- $Id$ --><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:t="http://www.tei-c.org/ns/1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="t" version="2.0">
<!-- main templates for subst, add and del found in teiaddanddel.xsl-->
<xsl:import href="teiaddanddel.xsl"/>
<xsl:template match="t:subst">
<xsl:apply-imports/>
</xsl:template>
<xsl:template match="t:add">
<xsl:param name="parm-leiden-style" tunnel="yes" required="no"/>
<xsl:choose>
<xsl:when test="($parm-leiden-style = 'ddbdp' or $parm-leiden-style = 'sammelbuch') and @place='interlinear'">
<fo:inline font-size="smaller">
<xsl:apply-imports/>
</fo:inline>
</xsl:when>
<xsl:otherwise>
<xsl:apply-imports/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="t:del">
<xsl:apply-imports/>
</xsl:template>
</xsl:stylesheet>