title: Setting the order of attribute when writing XML Element
body: <p>When writing in java the following:</p>
  
  <pre><code>Element fieldEl = targetDocument.createElement("field");
  fieldEl.setAttribute("Wine","Marlo");
  fieldEl.setAttribute("Beer","Corona");
  </code></pre>
  
  <p>The order of adding the attributes are not kept in the result XML file. <br>
  How can I control the order of the attribute inside XML Element (so it will be easy for human being to read...) ??</p>