<?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 Get xml from DB (multiple rows) then using tExtractXML produce 1 row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-xml-from-DB-multiple-rows-then-using-tExtractXML-produce-1/m-p/2309856#M81041</link>
    <description>&lt;P&gt;Hi All,&lt;BR /&gt;I am trying to read xml from a db and dump the contents to csv or db. For example:&lt;BR /&gt;my query is select top 10 xml from xml table.&lt;BR /&gt;I want to generate 10 (or more) rows of data to csv.&lt;BR /&gt;I have created:&amp;nbsp;&lt;BR /&gt;tjDBCInput --&amp;lt;main&amp;gt; -- tExtractXMLField -- &amp;lt;main&amp;gt; -- tFileOutputDelimited&amp;nbsp;&lt;BR /&gt;However I am finding that 10 rows will be generated by DB component and passed onto XML component. The XML is passed correctly, but only 1 row will be generated by the XML component and saved into File component. (expecting 10 rows and 10 rows)&lt;BR /&gt;Can anyone please help? It's the same when I replaced file with tLogRow. (see screenshot below)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In addition, if I get this work, I want to extract more repeating elements out from the XML data, and output to a relational database, any tips?&lt;BR /&gt;&lt;BR /&gt;Many Thanks,&lt;BR /&gt;Anthony&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFXL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128333iD9A9AE6EE25C2B0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFXL.png" alt="0683p000009MFXL.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2016 07:14:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-21T07:14:43Z</dc:date>
    <item>
      <title>Get xml from DB (multiple rows) then using tExtractXML produce 1 row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-xml-from-DB-multiple-rows-then-using-tExtractXML-produce-1/m-p/2309856#M81041</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I am trying to read xml from a db and dump the contents to csv or db. For example:&lt;BR /&gt;my query is select top 10 xml from xml table.&lt;BR /&gt;I want to generate 10 (or more) rows of data to csv.&lt;BR /&gt;I have created:&amp;nbsp;&lt;BR /&gt;tjDBCInput --&amp;lt;main&amp;gt; -- tExtractXMLField -- &amp;lt;main&amp;gt; -- tFileOutputDelimited&amp;nbsp;&lt;BR /&gt;However I am finding that 10 rows will be generated by DB component and passed onto XML component. The XML is passed correctly, but only 1 row will be generated by the XML component and saved into File component. (expecting 10 rows and 10 rows)&lt;BR /&gt;Can anyone please help? It's the same when I replaced file with tLogRow. (see screenshot below)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In addition, if I get this work, I want to extract more repeating elements out from the XML data, and output to a relational database, any tips?&lt;BR /&gt;&lt;BR /&gt;Many Thanks,&lt;BR /&gt;Anthony&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFXL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128333iD9A9AE6EE25C2B0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFXL.png" alt="0683p000009MFXL.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 07:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-xml-from-DB-multiple-rows-then-using-tExtractXML-produce-1/m-p/2309856#M81041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-21T07:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get xml from DB (multiple rows) then using tExtractXML produce 1 row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-xml-from-DB-multiple-rows-then-using-tExtractXML-produce-1/m-p/2309857#M81042</link>
      <description>okay i have figured out my self, the tExtractXMLElement component had a limit property which was set to 1. I have updated to an arbitrary 1000 and it worked. The question is though how to get it to a variable amount based on the previous rows retrieved.</description>
      <pubDate>Fri, 22 Jul 2016 00:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-xml-from-DB-multiple-rows-then-using-tExtractXML-produce-1/m-p/2309857#M81042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-22T00:13:26Z</dc:date>
    </item>
  </channel>
</rss>

