<?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: reading an array with tXMLMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377426#M139237</link>
    <description />
    <pubDate>Wed, 29 Dec 2021 10:09:17 GMT</pubDate>
    <dc:creator>stagliaferri1640766615</dc:creator>
    <dc:date>2021-12-29T10:09:17Z</dc:date>
    <item>
      <title>reading an array with tXMLMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377423#M139234</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to store in a database table data retrieved from an API.&lt;/P&gt;&lt;P&gt;Though, one of of the input contains an array in one of the sub branch (as you can see in the example). &lt;/P&gt;&lt;P&gt;I am using tXMLMap component to map the API from the trestclient. but in the database I always see the first value of the array. the other are discarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 08:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377423#M139234</guid>
      <dc:creator>stagliaferri1640766615</dc:creator>
      <dc:date>2021-12-29T08:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: reading an array with tXMLMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377424#M139235</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Can you upload a screenshot of tXMLMap? Is it possible to provide an sample data for testing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 09:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377424#M139235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-29T09:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: reading an array with tXMLMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377425#M139236</link>
      <description>&lt;P&gt;sure ! &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you Shong&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sergio&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 10:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377425#M139236</guid>
      <dc:creator>stagliaferri1640766615</dc:creator>
      <dc:date>2021-12-29T10:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: reading an array with tXMLMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377426#M139237</link>
      <description />
      <pubDate>Wed, 29 Dec 2021 10:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377426#M139237</guid>
      <dc:creator>stagliaferri1640766615</dc:creator>
      <dc:date>2021-12-29T10:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: reading an array with tXMLMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377427#M139238</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have made some testing, if the json file read by Jsonpath model, all values in array are read. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Lz04OAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134053iC9DFEAA6BC8BCE8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Lz04OAAR.png" alt="0695b00000Lz04OAAR.png" /&gt;&lt;/span&gt;if the json file read by Xpath model, only the first value in array is read.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Lz052AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155636iC2545CF24A92F152/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Lz052AAB.png" alt="0695b00000Lz052AAB.png" /&gt;&lt;/span&gt;So, have a try to uncheck the 'Convert response to DOM Document' box in the advanced setting panel of tRestClient, if the component returns a Json string, then you can use tExtractJsonFields component to extract data from response string with Jsonpath model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try and let me know if it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 03:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377427#M139238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-30T03:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: reading an array with tXMLMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377428#M139239</link>
      <description>&lt;P&gt;hello! it worked!!! thank you very much!!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 04:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377428#M139239</guid>
      <dc:creator>stagliaferri1640766615</dc:creator>
      <dc:date>2021-12-30T04:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: reading an array with tXMLMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377429#M139240</link>
      <description>&lt;P&gt;great! Thanks for your feedback!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 09:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-an-array-with-tXMLMap/m-p/2377429#M139240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-30T09:41:38Z</dc:date>
    </item>
  </channel>
</rss>

