blob: f1eb5bed9043de798b891649f11e6cb4810c6e77 [file] [log] [blame]
Marc Kupietz28f48e12024-04-14 16:17:05 +02001<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2 xmlns:saxon="http://saxon.sf.net/"
3 exclude-result-prefixes="saxon">
Marc Kupietz6bcec632024-04-15 06:52:42 +02004
Marc Kupietz28f48e12024-04-14 16:17:05 +02005 <xsl:output method="xml" indent="yes" saxon:line-length="1000"
Marc Kupietz6bcec632024-04-15 06:52:42 +02006 doctype-public="-//IDS//DTD IDS-I5 1.0//EN"
7 doctype-system="http://corpora.ids-mannheim.de/I5/DTD/i5.dtd"
8 />
9
Marc Kupietz28f48e12024-04-14 16:17:05 +020010 <xsl:mode on-no-match="shallow-copy"/>
Marc Kupietz6bcec632024-04-15 06:52:42 +020011
12 <xsl:template match="idsDoc[not(normalize-space(.//body))]"/>
13
14 <xsl:template match="idsText[not(normalize-space(.//body))]"/>
Marc Kupietz28f48e12024-04-14 16:17:05 +020015 <xsl:template match="hi[parent::div]">
16 <p>
17 <xsl:apply-templates/>
18 </p>
19 </xsl:template>
Marc Kupietz6bcec632024-04-15 06:52:42 +020020
Marc Kupietz28f48e12024-04-14 16:17:05 +020021
22</xsl:stylesheet>