Set line-length Saxon serialization parameter to 1024

Saves space, makes it more similar to I5 conventions and saves
korapxml2conllu, for now.

Change-Id: I95212813aef4447ec026155fe59e2f4cb92c6370
diff --git a/nkjp2korap.xsl b/nkjp2korap.xsl
index d8a4603..db8e6aa 100644
--- a/nkjp2korap.xsl
+++ b/nkjp2korap.xsl
@@ -4,7 +4,8 @@
   xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:f="func"
   xmlns:fn="http://www.w3.org/2005/xpath-functions"
   xmlns:xi="http://www.w3.org/2001/XInclude"
-  xmlns:map="http://www.w3.org/2005/xpath-functions/map" exclude-result-prefixes="xs f fn map nkjp tei xi"
+  xmlns:map="http://www.w3.org/2005/xpath-functions/map" exclude-result-prefixes="xs f fn map nkjp tei xi saxon"
+  xmlns:saxon="http://saxon.sf.net/"
   version="3.0" expand-text="yes">
 
 
@@ -36,6 +37,8 @@
 
 <!--          VARIABLES (= constants...)            -->
 
+  <xsl:variable name="line-length" as="xs:numeric" static="true" select="1024"/>
+
   <xsl:variable name="corpusID" as="xs:string" select="'NKJP'" static="yes"/>
   <xsl:variable name="docID" as="xs:string" select="'NKJP'" static="yes"/>
 
@@ -395,6 +398,7 @@
     <xsl:param name="target" as="xs:string"/>
     <!-- create the data.xml file -->
     <xsl:result-document encoding="UTF-8" method="xml" indent="yes"
+      saxon:line-length="{$line-length}"
       xpath-default-namespace="{$KorAP_namespace}" href="{$target}">
 
       <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>
@@ -428,6 +432,7 @@
     <xsl:param name="target" as="xs:string"/>
     
     <xsl:result-document encoding="UTF-8" method="xml" indent="yes"
+      saxon:line-length="{$line-length}"
       xpath-default-namespace="http://ids-mannheim.de/ns/KorAP" href="{$target}">
       <xsl:processing-instruction name="xml-model">href=&quot;span.rng&quot; type=&quot;application/xml&quot; schematypens=&quot;http://relaxng.org/ns/structure/1.0&quot;</xsl:processing-instruction>
       <xsl:element name="layer" namespace="{$KorAP_namespace}">
@@ -494,6 +499,7 @@
     <xsl:param name="target" as="xs:string"/>
 
     <xsl:result-document encoding="UTF-8" method="xml" indent="yes"
+      saxon:line-length="{$line-length}"
       xpath-default-namespace="http://ids-mannheim.de/ns/KorAP" href="{$target}">
       <xsl:processing-instruction name="xml-model">href=&quot;span.rng&quot; type=&quot;application/xml&quot; schematypens=&quot;http://relaxng.org/ns/structure/1.0&quot;</xsl:processing-instruction>
       <xsl:element name="layer" namespace="{$KorAP_namespace}">
@@ -625,6 +631,7 @@
     <xsl:param name="rev_lookup" as="map(*)"/>
 
     <xsl:result-document encoding="UTF-8" method="xml" indent="yes"
+      saxon:line-length="{$line-length}"
       xpath-default-namespace="http://ids-mannheim.de/ns/KorAP" href="{$target}">
       <xsl:processing-instruction name="xml-model">href=&quot;span.rng&quot; type=&quot;application/xml&quot; schematypens=&quot;http://relaxng.org/ns/structure/1.0&quot;</xsl:processing-instruction>
       <xsl:element name="layer" namespace="{$KorAP_namespace}">
@@ -712,6 +719,7 @@
     <xsl:param name="target" as="xs:string"/>
     
     <xsl:result-document encoding="UTF-8" method="xml" indent="yes"
+      saxon:line-length="{$line-length}"
       xpath-default-namespace="http://ids-mannheim.de/ns/KorAP" href="{$target}">
       <xsl:processing-instruction name="xml-model">href=&quot;span.rng&quot; type=&quot;application/xml&quot; schematypens=&quot;http://relaxng.org/ns/structure/1.0&quot;</xsl:processing-instruction>
       <xsl:element name="layer" namespace="{$KorAP_namespace}">
@@ -737,6 +745,7 @@
 
     <!-- create the local header.xml file -->
     <xsl:result-document encoding="UTF-8" method="xml" indent="yes"
+      saxon:line-length="{$line-length}"
       xpath-default-namespace="http://ids-mannheim.de/ns/KorAP" href="{$target}">
 
       <idsHeader type="document" pattern="text" status="new" version="1.1" TEIform="teiHeader">
@@ -817,7 +826,7 @@
     <xsl:param name="target" as="xs:string"/>
 
     <!-- create the corpus-level header.xml file -->
-    <xsl:result-document encoding="UTF-8" method="xml" indent="yes" href="{$target}">
+    <xsl:result-document encoding="UTF-8" method="xml" indent="yes" saxon:line-length="{$line-length}" href="{$target}">
 
       <!--doctype-public="{$publicDoctypeI5}"
           doctype-system="{$systemDoctypeI5}">