<?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: XML with nested Loops, any idea ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308723#M80017</link>
    <description>Shong, thanks for your Response ...
&lt;BR /&gt;If Workaround with fixed file Name ... i get an Problem with concurrency ? (Next call writes same File-Name, prev call reads) in ESB Environment ?</description>
    <pubDate>Mon, 16 Nov 2015 16:13:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-16T16:13:28Z</dc:date>
    <item>
      <title>XML with nested Loops, any idea ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308721#M80015</link>
      <description>&lt;P&gt;Folks,&lt;BR /&gt;&lt;BR /&gt;I have a question for ya talend cracks.&lt;BR /&gt;Its quite easy.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Given a very simle DataModel, maybe in Access:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.talend.com/legacyfs/online/146546/Data.png" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGiC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143693iED88DAFA7C2C7FA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGiC.png" alt="0683p000009MGiC.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want&amp;nbsp;to create&amp;nbsp;this nested XML:&lt;BR /&gt;&lt;A href="https://community.talend.com/legacyfs/online/146546/Vector_20151107-2338.png" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGlq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153465iE93ACC8D368D7DCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGlq.png" alt="0683p000009MGlq.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It is&amp;nbsp;no Problem to use tFileOutputMsXML:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.talend.com/legacyfs/online/146546/VectorMsxml.png" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGso.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132709i1332594256C5A8A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGso.png" alt="0683p000009MGso.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Attached you find zipped: Data, project.zip and *.xsd:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.talend.com/legacyfs/online/146546/NestedLoops.rar" target="_blank" rel="noopener"&gt;NestedLoops.rar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But the disadvantage of this component - it creates only files, so using with REST/ESB needs ugly&amp;nbsp;Workaround.&lt;BR /&gt;&lt;BR /&gt;Has any one a solution with tXmlMap or any other components creating document as stream (not as file) ?&lt;BR /&gt;&lt;BR /&gt;Any ideas ?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2015 22:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308721#M80015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-07T22:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: XML with nested Loops, any idea ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308722#M80016</link>
      <description>It is impossible to generate this document on tXMLMap, you can read the file as a document with tFileInputXML after you generate the XML file with tFileOutputMSXML, see
&lt;BR /&gt;
&lt;A href="https://community.talend.com/legacyfs/online/674/1_20151116-0954.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGoE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138746i931F8B54076F634E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGoE.png" alt="0683p000009MGoE.png" /&gt;&lt;/span&gt;&lt;/A&gt;</description>
      <pubDate>Mon, 16 Nov 2015 08:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308722#M80016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-16T08:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: XML with nested Loops, any idea ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308723#M80017</link>
      <description>Shong, thanks for your Response ...
&lt;BR /&gt;If Workaround with fixed file Name ... i get an Problem with concurrency ? (Next call writes same File-Name, prev call reads) in ESB Environment ?</description>
      <pubDate>Mon, 16 Nov 2015 16:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308723#M80017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-16T16:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: XML with nested Loops, any idea ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308724#M80018</link>
      <description>You are right, it may cause conflict to read the same file if many calls at the same time, it is better to define a dynamic file name, for example, define the file name with current datetime in the beginning of job on a tJava:
&lt;BR /&gt;context.filename=formatDate("yyyyMMddHH:mm:ss",TalendDate.getCurrentDate())+".xml";
&lt;BR /&gt;
&lt;BR /&gt;It will generates a file name like 20151116121511.xml
&lt;BR /&gt;
&lt;BR /&gt;and delete the file in the end of job if needed.&amp;nbsp;</description>
      <pubDate>Tue, 17 Nov 2015 07:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308724#M80018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-17T07:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: XML with nested Loops, any idea ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308725#M80019</link>
      <description>&lt;B&gt;This is what we call "an ugly Workaround"&lt;/B&gt;</description>
      <pubDate>Fri, 20 Nov 2015 21:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-with-nested-Loops-any-idea/m-p/2308725#M80019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-20T21:45:02Z</dc:date>
    </item>
  </channel>
</rss>

