title: Write the Output into same xml file in Talend ETL
body: <p>I want to use xml file to store records that processed by Talend job.I have created the Output XML file and using tAdvancedFileOutputXML to generate the output.Structure of XML is -      </p>
  
  <pre><code>`&lt;node&gt;
      &lt;successrecords&gt;
          &lt;data attribute="[value]" /&gt;
      &lt;/successrecords&gt;
     &lt;failurerecords&gt;
         &lt;data attribute="[value]" /&gt;
     &lt;/failurerecords&gt;
  </code></pre>
  
  <p>`</p>
  
  <p>Success and failure records has to be put in one XML but only the first assigned tAdvancedFileOutputXML is generating and the other one is not appending.Please suggest me how to write into same file at both failure and success scenario.</p>