title: Add Custom Declaration in xml using java
body: <p>Is there any way that I can add custom declaration in xml using java.</p>
  
  <p>(i.e) I created xml using dom parser in Java.  <code>&lt;?xml version="1.0" encoding="UTF_8"?&gt;</code> has been created by default.</p>
  
  <p>I want another declaration is also need to be added in my xml. <code>&lt;?myxml version="10.0"?&gt;</code></p>
  
  <p>Is there any way I could achieve this in dom parser.</p>
  
  <p>Thanks in advance.</p>