correct empty namespace nodes in the output
Change-Id: If86244a4c9388401ce30beb3741aafef9082e14c
diff --git a/nkjp2korap.xsl b/nkjp2korap.xsl
index 7ff28ad..2a94615 100644
--- a/nkjp2korap.xsl
+++ b/nkjp2korap.xsl
@@ -15,10 +15,10 @@
     <xsl:variable name="text.xml" as="document-node()" select="doc($targetDir || 'text.xml')"/>
 
     <!-- Template to create the data.xml file -->
-    <xsl:result-document encoding="UTF-8" method="xml" indent="yes"
+    <xsl:result-document encoding="UTF-8" method="xml" indent="yes" xpath-default-namespace="http://ids-mannheim.de/ns/KorAP"
       href="{'test/output/' || $corpusID || '/' || $docID || '/' || $textID || '/data.xml'}">
       <xsl:processing-instruction name="xml-model">href=&quot;text.rng&quot; type=&quot;application/xml&quot; schematypens=&quot;http://relaxng.org/ns/structure/1.0&quot;</xsl:processing-instruction>
-      <xsl:element name="raw_text" namespace="http://ids-mannheim.de/ns/KorAP">
+      <xsl:element name="raw_text">
         <xsl:attribute name="docid" select="$corpusID || '_' || $docID || '.' || $textID"/>
         <metadata file="metadata.xml"/>
         <text>