<?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: Append using tAdvancedOutputXML in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308566#M79880</link>
    <description>See the attached snapshot for example:</description>
    <pubDate>Mon, 21 Oct 2013 19:58:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-21T19:58:51Z</dc:date>
    <item>
      <title>Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308558#M79872</link>
      <description>We are getting incredible poor performance on using the append option on the component tAdvancedOutputXML. The first XML is created from a CSV source and looks something like with one loop called Race and looks like below. The second source is a CSV that has the ID field and another loop element (reason we can't use the MSXML because it appends all loops to the bottom where we need race in the middle). The append actually appends to the top under id instead of the bottom in 4.0.3 and 4.2.3, however, in 4.2.2 it works correctly. The problem is the append runs at like .01 rows per second. We really need this append to run much quicker. Any ideas? Have tried temp directories, buffer increase, etc. Right now, running XP on 4 gig memory, 32 bit, but soon going to 64 bit, 8 gig memory. Also, need to open a bug on 4.2.3 in which the append doesn't appear to work..appends to top of student instead of the bottom like 4.2.2 does. 
&lt;BR /&gt;&amp;lt;Student id="SID_71346"&amp;gt; 
&lt;BR /&gt; &amp;lt;StudentUniqueStateId&amp;gt;71346&amp;lt;/StudentUniqueStateId&amp;gt; 
&lt;BR /&gt; &amp;lt;StudentId&amp;gt;764750431&amp;lt;/StudentId&amp;gt; 
&lt;BR /&gt; &amp;lt;LocalId&amp;gt;71346&amp;lt;/LocalId&amp;gt; 
&lt;BR /&gt; &amp;lt;Name&amp;gt; 
&lt;BR /&gt; &amp;lt;FirstName&amp;gt;Marguerite&amp;lt;/FirstName&amp;gt; 
&lt;BR /&gt; &amp;lt;LastSurname&amp;gt;Lindline&amp;lt;/LastSurname&amp;gt; 
&lt;BR /&gt; &amp;lt;/Name&amp;gt; 
&lt;BR /&gt; &amp;lt;Race&amp;gt; 
&lt;BR /&gt; &amp;lt;RacialCategory&amp;gt;White&amp;lt;/RacialCategory&amp;gt; 
&lt;BR /&gt; &amp;lt;RacialCategory&amp;gt;Hispanic&amp;lt;/RacialCategory&amp;gt; 
&lt;BR /&gt; &amp;lt;/Race&amp;gt; 
&lt;BR /&gt; &amp;lt;BirthData&amp;gt; 
&lt;BR /&gt; &amp;lt;BirthDate&amp;gt;2004-03-15&amp;lt;/BirthDate&amp;gt; 
&lt;BR /&gt; &amp;lt;BirthCity&amp;gt;Trenton&amp;lt;/BirthCity&amp;gt; 
&lt;BR /&gt; &amp;lt;BirthCountry&amp;gt;United States&amp;lt;/BirthCountry&amp;gt; 
&lt;BR /&gt; &amp;lt;BirthState&amp;gt;TX&amp;lt;/BirthState&amp;gt; 
&lt;BR /&gt; &amp;lt;/BirthData&amp;gt; 
&lt;BR /&gt; &amp;lt;LimitedEnglishProficiency&amp;gt;Limited&amp;lt;/LimitedEnglishProficiency&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;The second XML to append looks like: 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;lt;Student id="SID_71346"&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt; &amp;lt;Languages&amp;gt; 
&lt;BR /&gt; &amp;lt;Language&amp;gt;Spanish&amp;lt;/Language&amp;gt; 
&lt;BR /&gt; &amp;lt;Language&amp;gt;English&amp;lt;/Language&amp;gt; 
&lt;BR /&gt; &amp;lt;/Languages&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt; &amp;lt;/Student&amp;gt;</description>
      <pubDate>Sat, 16 Nov 2024 12:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308558#M79872</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308559#M79873</link>
      <description>Hi 
&lt;BR /&gt;Thanks for your first post on forum! 
&lt;BR /&gt; .01 rows per second is unacceptable number, I think there must be a job design problem in the job, can you upload some screenshot of jobs? So that we could know more details on the job. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 02 Nov 2011 09:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308559#M79873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-02T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308560#M79874</link>
      <description>The smaller xml tree is appended the larger one.</description>
      <pubDate>Thu, 03 Nov 2011 20:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308560#M79874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-03T20:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308561#M79875</link>
      <description>Hi 
&lt;BR /&gt;It is a big job, so many components in the job and many columns on the schema, and you add the following expression on each column, it cut down the performance apparently. 
&lt;BR /&gt;(Disability_CSV_In.DISABILITY == null || Disability_CSV_In.DISABILITY.equals("")) ? null : Disability_CSV_In.DISABILITY 
&lt;BR /&gt;Do you really need the expression on each column? 
&lt;BR /&gt;If you have enough memory available, go to windows--&amp;gt;preference--&amp;gt;talend--&amp;gt;run/debug and allocate more memory to execute the job. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 04 Nov 2011 03:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308561#M79875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-04T03:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308562#M79876</link>
      <description>From this image you can see that we do not want to create an empty element. It appears that the way Talend or java works on that check box is that if the field is null then the element doesn't print, however, if the element is empty string, then it does print the unwanted tag so you have to account for that in the tmap. Also, the expression logic is actually in the first non append xml creation that runs fast. It's only the append stream that ones slow in which it has only has one element loop tied to the student group and no expressions in tmap. Sounds like memory is the issue although I have tried unsuccessfully changing that. The pc has 4 gig but bumping run time memory causes Talend to crash. Our work around right now will be to go back to using the merge (xmlms..) even though that throws all loops elements to the bottom, so we have developed a "xml re-arranger" routine to move the loop elements to the correct location. The other possible solution will be moving to a 64 bit architecture with 8 gig memory. Let me know if anyone else has other possible solutions. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Jay</description>
      <pubDate>Fri, 04 Nov 2011 14:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308562#M79876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-04T14:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308563#M79877</link>
      <description>I have a similar issue when writing close to 200K records in the xml file. I have three loops 
&lt;BR /&gt;1. Order--&amp;gt; multiple shipping addresses 
&lt;BR /&gt;2. Order--&amp;gt; multiple billing addresses 
&lt;BR /&gt;3. Order --&amp;gt; multiple lines in an order. 
&lt;BR /&gt;I am using toutputMSXML to write data to final output and using three source netezza component for reading the data. Talend job is taking days to complete. Job starts with processing 300row/s and it slows down after few hours and taking 1 row/s. Does anyone know how to solve this problem? I am thinking to generate three separate files and use TAdvance xml component and then somehow merge them. Any suggestions?</description>
      <pubDate>Sun, 20 Oct 2013 14:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308563#M79877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-20T14:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308564#M79878</link>
      <description>Hi kumard3 
&lt;BR /&gt;Try the 'append the source xml file' option on tAdvancedFileOutputXML to append the loop element one by one to an existing XML file, you can find an example job in this topic: 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCofDCAS" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Extract-and-aggregate-data-from-2-tables-1-to-many-relationship/td-p/96223&lt;/A&gt; 
&lt;BR /&gt;kumard3</description>
      <pubDate>Mon, 21 Oct 2013 02:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308564#M79878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-21T02:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308565#M79879</link>
      <description>Do i need to define the complete structure of the xml when loading the data first time with the first loop or structure needs to be changed after each looping? I can't add multiple loops in one tAdvanceFileOutputXML component.</description>
      <pubDate>Mon, 21 Oct 2013 19:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308565#M79879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-21T19:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308566#M79880</link>
      <description>See the attached snapshot for example:</description>
      <pubDate>Mon, 21 Oct 2013 19:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308566#M79880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-21T19:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308567#M79881</link>
      <description>Hi kumard3 
&lt;BR /&gt;It is unable to define multiple loop elements on tAdvancedFileOutputXML, you just need to define the structure for the loop element need to be changed at a time. 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 23 Oct 2013 13:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308567#M79881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T13:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308568#M79882</link>
      <description>We tried this approach and it seems job is taking 200 secs for 1000 rows and for 10,000 rows it's freezing. Is there any other way in Talend which can help merging three separate files into one file?</description>
      <pubDate>Wed, 23 Oct 2013 15:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308568#M79882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T15:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308569#M79883</link>
      <description>Hi 
&lt;BR /&gt;You can try the tXMLMap component that allows you to define a Document and set multiple loop elements, link it to a tFileOutputXML to generate a XML file. 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MERR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143053i81899A1DC50C9276/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MERR.png" alt="0683p000009MERR.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MERW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129480i4EFC31928A83C002/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MERW.png" alt="0683p000009MERW.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 24 Oct 2013 07:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308569#M79883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-24T07:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308570#M79884</link>
      <description>We are using Talend 5.0.3 version and tXMLMap is not allowing to have multiple loops. We need to have three loops.&lt;BR /&gt;any suggestions?</description>
      <pubDate>Fri, 25 Oct 2013 22:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308570#M79884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-25T22:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Append using tAdvancedOutputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308571#M79885</link>
      <description>Shong,
&lt;BR /&gt;Do you know, why tXMLMAP is not allowing multiple loops? None of the approach is working right now and this issue is production critical. Can you suggest some other way to fix this issue?</description>
      <pubDate>Sat, 01 Mar 2014 17:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Append-using-tAdvancedOutputXML/m-p/2308571#M79885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-01T17:00:17Z</dc:date>
    </item>
  </channel>
</rss>

