title: WSO2 ESB Writing XML file with xml tag
body: <p>I have converted an xml file to another xml using xslt mediator then I I write the file using vfs to create .xml file, everything seems to work fine. But I want to add the following tag in the beginning of the file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  </code></pre>
  
  <p>I have tried using this property: </p>
  
  <pre><code>&lt;property name="messageType" value="text/xml" scope="axis2" type="STRING"/&gt;
  </code></pre>
  
  <p>It adds soap envelope to file as well which is not required.</p>
  
  <p>Any suggestions? I am using esb 4.8.0</p>