Remove empty idsTexts and idsDocs
diff --git a/xslt/pass3.xsl b/xslt/pass3.xsl
index 69ae2aa..f1eb5be 100644
--- a/xslt/pass3.xsl
+++ b/xslt/pass3.xsl
@@ -1,18 +1,22 @@
 <xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                 xmlns:saxon="http://saxon.sf.net/"
                 exclude-result-prefixes="saxon">
-
+    
     <xsl:output method="xml" indent="yes" saxon:line-length="1000"
-    doctype-public="-//IDS//DTD IDS-I5 1.0//EN"
-    doctype-system="http://corpora.ids-mannheim.de/I5/DTD/i5.dtd"
-    />
-
+                doctype-public="-//IDS//DTD IDS-I5 1.0//EN"
+                doctype-system="http://corpora.ids-mannheim.de/I5/DTD/i5.dtd"
+        />
+    
     <xsl:mode on-no-match="shallow-copy"/> 
-
+    
+    <xsl:template match="idsDoc[not(normalize-space(.//body))]"/>
+    
+    <xsl:template match="idsText[not(normalize-space(.//body))]"/>
     <xsl:template match="hi[parent::div]">
         <p>
             <xsl:apply-templates/>
         </p>
     </xsl:template>
+    
 
 </xsl:stylesheet>