For the WORD document generated using docx4j library , the document.xml content has leading and trailing spaces.
Its formatted.
Is there any way to NOT format the xml.
XML :
- Code: Select all
<w:body><!-- Created by docx4j 11.1.3 (Apache licensed) using REFERENCE JAXB in AdoptOpenJDK Java 11.0.6 on Windows 10 -->
<w:p>
<w:pPr>
<w:rPr>
<w:sz w:val="16"/>
</w:rPr>
</w:pPr>
<w:r>
<w:t xml:space="preserve"></w:t>
</w:r>
<w:r>
<w:rPr>
<w:noProof w:val="true"/>
</w:rPr>
<mc:AlternateContent>
<mc:Choice Requires="wps">
<w:drawing>