title: How to replace or remove XML HEADER while using xmlbuilder-js of NodeJs?
body: <p>I am using NodeJs library called <a href="https://github.com/oozcitak/xmlbuilder-js" rel="nofollow noreferrer">xmlbuilder-js</a> for building dynamic XML output but I'm having a little difficulty removing the header of the XML Output. Following is my code sample</p>
  
  <pre><code>var xml = builder.create('root')
      .ele('parent')
      .ele('content')
      .dat('something').up()
      .up()
      .end()
  console.log(xml) 
  </code></pre>
  
  <p>which produces following output</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;root&gt;
  &lt;parent&gt;
  &lt;content&gt;&lt;![CDATA[something]]&gt;&lt;/content&gt;
  &lt;/parent&gt;&lt;
  &lt;/root&gt;
  </code></pre>
  
  <blockquote>
    <p>Here I wanna remove the first line of the output which is called
    header that is <code>&lt;?xml version="1.0"?&gt;</code> and replace it with another
    line like <code>&lt;vast version="2.5"</code>> but I'm confused how shall I do that.
    Can somebody please tell me with an example how to do so?</p>
  </blockquote>