<?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: Recordset to XML in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298420#M70891</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOLmAAO"&gt;@KennethA&lt;/A&gt;,are you looking for this?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 798px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwtF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148521i54BBCA1B9B7FFC00/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwtF.png" alt="0683p000009LwtF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 800px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwbp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132948i79A1F980E937EDB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwbp.png" alt="0683p000009Lwbp.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 426px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lx0W.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132839i0FBAB28F81295455/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lx0W.png" alt="0683p000009Lx0W.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Apr 2018 06:33:08 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2018-04-27T06:33:08Z</dc:date>
    <item>
      <title>Recordset to XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298414#M70885</link>
      <description>&lt;P&gt;I have a table with some data in it, for example:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;ID Name Type&lt;/P&gt; 
&lt;TABLE&gt; 
 &lt;TBODY&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;1&lt;/TD&gt; 
   &lt;TD&gt;ProductA&lt;/TD&gt; 
   &lt;TD&gt;TypeA&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;2&lt;/TD&gt; 
   &lt;TD&gt;ProductB&lt;/TD&gt; 
   &lt;TD&gt;TypeA&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;3&lt;/TD&gt; 
   &lt;TD&gt;ProductC&lt;/TD&gt; 
   &lt;TD&gt;TypeB&lt;/TD&gt; 
  &lt;/TR&gt; 
 &lt;/TBODY&gt; 
&lt;/TABLE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;I am willing to get the next XML&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;Products&amp;gt;
&amp;lt;Product&amp;gt;
&amp;lt;ID&amp;gt;1&amp;lt;/ID&amp;gt;
&amp;lt;Name&amp;gt;ProductA&amp;lt;/Name&amp;gt;
&amp;lt;Type&amp;gt;TypeA&amp;lt;/Type&amp;gt;
&amp;lt;/Product&amp;gt;
&amp;lt;Product&amp;gt;
&amp;lt;ID&amp;gt;2&amp;lt;/ID&amp;gt;
&amp;lt;Name&amp;gt;ProductB&amp;lt;/Name&amp;gt;
&amp;lt;Type&amp;gt;TypeA&amp;lt;/Type&amp;gt;
&amp;lt;/Product&amp;gt;
&amp;lt;Product&amp;gt;
&amp;lt;ID&amp;gt;3&amp;lt;/ID&amp;gt;
&amp;lt;Name&amp;gt;ProductC&amp;lt;/Name&amp;gt;
&amp;lt;Type&amp;gt;TypeB&amp;lt;/Type&amp;gt;
&amp;lt;/Product&amp;gt;&lt;BR /&gt;&amp;lt;/Products&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I am getting is the next&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;Products&amp;gt;
&amp;lt;Product&amp;gt;
&amp;lt;ID&amp;gt;1&amp;lt;/ID&amp;gt;
&amp;lt;Name&amp;gt;ProductA&amp;lt;/Name&amp;gt;
&amp;lt;Type&amp;gt;TypeA&amp;lt;/Type&amp;gt;
&amp;lt;/Product&amp;gt;
&amp;lt;/Products&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My current flow is the next&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;tMSSqlSp -&amp;gt; tParseRecordSet -&amp;gt; tMap -&amp;gt; tWriteXMLField&lt;/PRE&gt; 
&lt;P&gt;First I execute the procedure to get my results, I parse them to fields using the tParseRecordSet, I use a tMap to generate XML out of the parsed results and then I use the tWriteXMLField to try to complete my XML. Products is a group element whereby I have choosen the Product as a loop. I might be misunderstanding how the loop functionality works, as I am only getting the first result as a XML.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We are entitled to Talend ESB version 6.1.1 and have an enterprise license.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For your information, I of course used fictional data as it is company sensitive.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298414#M70885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Recordset to XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298415#M70886</link>
      <description>&lt;P&gt;You need to look at this&amp;nbsp;&lt;A href="https://help.talend.com/reader/ixBASPZJ7IvqUQVupZwWbg/EFuE5Nul595D24TRwbFnbw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/ixBASPZJ7IvqUQVupZwWbg/EFuE5Nul595D24TRwbFnbw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pay special attention to the "All in One" boolean on your tXMLMap output. This will need to be set to true.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 15:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298415#M70886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Recordset to XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298416#M70887</link>
      <description>&lt;P&gt;Are you looking for the following output?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="testxml.PNG" style="width: 650px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwq7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150399iAD1E02B7C8E503C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwq7.png" alt="0683p000009Lwq7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="testxml1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lx1m.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152015i1DB980E627171DD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lx1m.png" alt="0683p000009Lx1m.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 15:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298416#M70887</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-04-26T15:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Recordset to XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298417#M70888</link>
      <description>&lt;P&gt;I already have seen the example and it is not entirely the same though. It already starts from a XML, where I start from a RecordSet. I have the following columns, all on the same level:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;ID&lt;/LI&gt;
 &lt;LI&gt;Name&lt;/LI&gt;
 &lt;LI&gt;Type&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;From my understanding, as I am only a rookie using Talend, the tMap gets executed for each record in the recordset, which then has to be combined into a new XML by using the tWriteXMLField.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Neither do I have the option "All in One".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 15:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298417#M70888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T15:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Recordset to XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298418#M70889</link>
      <description>Yes, that's it vboppudi. Except I don't want it to be written to a file as it has to be stored in the body to return to a route. Unless it's a requirement?</description>
      <pubDate>Thu, 26 Apr 2018 15:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298418#M70889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T15:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Recordset to XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298419#M70890</link>
      <description>&lt;P&gt;It doesn't need to start from an XML....that is just the example. It can start from row data. In fact most people use it that way. Here is a somewhat more complicated tutorial on how to use the tXMLMap. Ignore the Java code as that is for something else, but look for where I explain the tXMLMap settings&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.rilhia.com/tutorials/load-xml-files-batches-records" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/tutorials/load-xml-files-batches-records&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 16:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298419#M70890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T16:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Recordset to XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298420#M70891</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOLmAAO"&gt;@KennethA&lt;/A&gt;,are you looking for this?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 798px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwtF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148521i54BBCA1B9B7FFC00/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwtF.png" alt="0683p000009LwtF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 800px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwbp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132948i79A1F980E937EDB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwbp.png" alt="0683p000009Lwbp.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 426px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lx0W.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132839i0FBAB28F81295455/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lx0W.png" alt="0683p000009Lx0W.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 06:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recordset-to-XML/m-p/2298420#M70891</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-04-27T06:33:08Z</dc:date>
    </item>
  </channel>
</rss>

