<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to write to XML twice in same subjob in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-write-to-XML-twice-in-same-subjob/m-p/2531372#M148025</link>
    <description>&lt;P&gt;Thanks and yeah, this is basically what the final solution became, which seems like a lot of extra steps but I guess is simply due to how the system is structured.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Sep 2025 13:10:56 GMT</pubDate>
    <dc:creator>MDouglas1687874333</dc:creator>
    <dc:date>2025-09-19T13:10:56Z</dc:date>
    <item>
      <title>Unable to write to XML twice in same subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-write-to-XML-twice-in-same-subjob/m-p/2524819#M147797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having an issue where I am unable to write to an XML file twice in a single subjob.&lt;/P&gt;&lt;P&gt;Image of subjob:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend flow.png" style="width: 410px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182221i3616E6317FEC2F4E/image-dimensions/410x170?v=v2" width="410" height="170" role="button" title="talend flow.png" alt="talend flow.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Above is the subjob, the Fixed flow simply outputs a table with four rows with 2 columns, the tmap then splits this into two more flows based on the value of a column. The output xmls both write to the same xml file and are set to append. What happens is only one of the flow rows is written to the file, always the lowest in the order (out2 flow in this case), and the first flow is not written. I am unsure if it is overwriting the file or not, but both the outputs write to different sections, shown below:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="out1.png" style="width: 361px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182224iCDA6A280AD47E944/image-dimensions/361x246?v=v2" width="361" height="246" role="button" title="out1.png" alt="out1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="out2.png" style="width: 362px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182225i1F30DD3B6BA0F573/image-dimensions/362x275?v=v2" width="362" height="275" role="button" title="out2.png" alt="out2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this simply due to how the subjob is structured under the hood or is there some extra step I need to add between the tmap and outputxmls?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 12:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-write-to-XML-twice-in-same-subjob/m-p/2524819#M147797</guid>
      <dc:creator>MDouglas1687874333</dc:creator>
      <dc:date>2025-07-21T12:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to XML twice in same subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-write-to-XML-twice-in-same-subjob/m-p/2528723#M147955</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/273124"&gt;@MDouglas1687874333&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if you have managed to resolve your XML construction problem but what works is a design like below, broken down into 2 parts with an OnComponentOk and adding an append on the second tAdvancedFileOutputXML.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1756392752024.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183211iD2ADA8F8837E657A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1756392752024.png" alt="Dave_Simo_0-1756392752024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_1-1756392785589.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183212i39BBA55A0F8C4F39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_1-1756392785589.png" alt="Dave_Simo_1-1756392785589.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 14:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-write-to-XML-twice-in-same-subjob/m-p/2528723#M147955</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-08-28T14:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to XML twice in same subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-write-to-XML-twice-in-same-subjob/m-p/2531372#M148025</link>
      <description>&lt;P&gt;Thanks and yeah, this is basically what the final solution became, which seems like a lot of extra steps but I guess is simply due to how the system is structured.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 13:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-write-to-XML-twice-in-same-subjob/m-p/2531372#M148025</guid>
      <dc:creator>MDouglas1687874333</dc:creator>
      <dc:date>2025-09-19T13:10:56Z</dc:date>
    </item>
  </channel>
</rss>

