title: XStream(new StaxDriver()) without XML declaration
body: <h2>My program JAVA:</h2>
  
  <pre><code>public static String toXml() {
  KtpMessage ktpMessage =new KtpMessage();
  ktpMessage.setdetails("test");
  XStream xstream = new XStream(new StaxDriver());
  String objectXml = xstream.toXML(ktpMessage);
  return objectXml;
  </code></pre>
  
  <hr>
  
  <p>The result is :</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;&lt;myclasses.Message&gt;&lt;details&gt;test&lt;/details&gt;&lt;/myclasses.Message&gt;
  </code></pre>
  
  <p>my problem:
  I want to generate the "objectXml" but without <code>&lt;?xml version='1.0' encoding='utf-8'?&gt;</code>
  how can I do that ?</p>
  
  <p>i want have this result:</p>
  
  <pre><code>&lt;myclasses.Message&gt;&lt;details&gt;test&lt;/details&gt;&lt;/myclasses.Message&gt;
  </code></pre>
  
  <p>thanks for your help</p>