title: MarkLogic generating self closing tag in XML
body: <p>I'm trying to store HTML as XML format with empty tags:</p>
  
  <pre><code>    &lt;body xmlns="http://www.w3.org/1999/xhtml"&gt;
          &lt;div class="WordSection1" xmlns=""&gt;
              &lt;p class="ChapterNumber"&gt;Chapter 6&lt;/p&gt;
              &lt;h1 class="ChapterTitle"&gt;The Legislature and the &lt;br/&gt;Electoral System&lt;/h1&gt;
              &lt;p class="ChapterSub-Title"&gt; &lt;/p&gt;
              &lt;div style=""&gt;&lt;/div&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  </code></pre>
  
  <p>After storing in MarkLogic I get empty self-closing tags</p>
  
  <pre><code>    &lt;body xmlns="http://www.w3.org/1999/xhtml"&gt;
          &lt;div class="WordSection1" xmlns=""&gt;
              &lt;p class="ChapterNumber"&gt;Chapter 6&lt;/p&gt;
              &lt;h1 class="ChapterTitle"&gt;The Legislature and the &lt;br /&gt;Electoral System&lt;/h1&gt;
              &lt;p class="ChapterSub-Title"&gt; &lt;/p&gt;
              &lt;div style="" /&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  </code></pre>
  
  <p>It is generated invalid XHTML. How can I get original XML, whatever self-closing element and empty element as it is original file?</p>