<?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 How to get tExtractXmlField to include both xml sibling items not just one in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-tExtractXmlField-to-include-both-xml-sibling-items/m-p/2309028#M80291</link>
    <description>&lt;P&gt;I call a service and get back a payload (abbreviated) like this:&lt;/P&gt;&lt;P&gt;&amp;lt;events&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;isSubscribed&amp;gt;true&amp;lt;/isSubscribed&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;multipleTimesPerDay&amp;gt;07:19:32&amp;lt;/multipleTimesPerDay&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;multipleTimesPerDay&amp;gt;06:09:32&amp;lt;/multipleTimesPerDay&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/events&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I use a tExtractXmlField component to pull out the data; into a respository metadata like this:&lt;BR /&gt;isSubscribed &amp;nbsp;String&lt;BR /&gt;multipleTimesPerDay &amp;nbsp;String&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have tried changing the Datatype from String, to Object, to List; and I always just get the first item/value.&lt;BR /&gt;&lt;BR /&gt;What I would like to get is:&lt;BR /&gt;&lt;BR /&gt;columns&lt;BR /&gt;isSubscribed &amp;nbsp;multipleTimesPerDay&lt;BR /&gt;"true" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;SPAN&gt;07:19:32", "06:09:32"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I want the multipleTimesPerDay values in one column in the metadata repository; that I can evaluate later.&lt;BR /&gt;&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2017 00:26:35 GMT</pubDate>
    <dc:creator>DaveTaylor</dc:creator>
    <dc:date>2017-08-22T00:26:35Z</dc:date>
    <item>
      <title>How to get tExtractXmlField to include both xml sibling items not just one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-tExtractXmlField-to-include-both-xml-sibling-items/m-p/2309028#M80291</link>
      <description>&lt;P&gt;I call a service and get back a payload (abbreviated) like this:&lt;/P&gt;&lt;P&gt;&amp;lt;events&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;isSubscribed&amp;gt;true&amp;lt;/isSubscribed&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;multipleTimesPerDay&amp;gt;07:19:32&amp;lt;/multipleTimesPerDay&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;multipleTimesPerDay&amp;gt;06:09:32&amp;lt;/multipleTimesPerDay&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/events&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I use a tExtractXmlField component to pull out the data; into a respository metadata like this:&lt;BR /&gt;isSubscribed &amp;nbsp;String&lt;BR /&gt;multipleTimesPerDay &amp;nbsp;String&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have tried changing the Datatype from String, to Object, to List; and I always just get the first item/value.&lt;BR /&gt;&lt;BR /&gt;What I would like to get is:&lt;BR /&gt;&lt;BR /&gt;columns&lt;BR /&gt;isSubscribed &amp;nbsp;multipleTimesPerDay&lt;BR /&gt;"true" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;SPAN&gt;07:19:32", "06:09:32"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I want the multipleTimesPerDay values in one column in the metadata repository; that I can evaluate later.&lt;BR /&gt;&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 00:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-tExtractXmlField-to-include-both-xml-sibling-items/m-p/2309028#M80291</guid>
      <dc:creator>DaveTaylor</dc:creator>
      <dc:date>2017-08-22T00:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get tExtractXmlField to include both xml sibling items not just one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-tExtractXmlField-to-include-both-xml-sibling-items/m-p/2309029#M80292</link>
      <description>&lt;P&gt;Found a work around.&lt;BR /&gt;Added a tAggregateRow component, with the output column as 'multipleTimesPerDay' function list(object)&lt;BR /&gt;and set the output datatype for that column as List.&lt;BR /&gt;Works well.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 21:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-tExtractXmlField-to-include-both-xml-sibling-items/m-p/2309029#M80292</guid>
      <dc:creator>DaveTaylor</dc:creator>
      <dc:date>2017-08-22T21:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get tExtractXmlField to include both xml sibling items not just one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-tExtractXmlField-to-include-both-xml-sibling-items/m-p/2309030#M80293</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvKd.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139419i47D23F130806BD68/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvKd.jpg" alt="0683p000009LvKd.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lvx0.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155692i5319A8135F3F8EBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lvx0.jpg" alt="0683p000009Lvx0.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lvx5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142434iD51015DA23C82221/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lvx5.jpg" alt="0683p000009Lvx5.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried using&amp;nbsp;tXMLMap, and got&amp;nbsp;multipleTimesPerDay, let me know if it helps you&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000005aJMlAAM"&gt;@DaveTaylor&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;Please refer attached screenshots&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Sachin D.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 05:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-tExtractXmlField-to-include-both-xml-sibling-items/m-p/2309030#M80293</guid>
      <dc:creator>SachinD</dc:creator>
      <dc:date>2017-08-23T05:35:14Z</dc:date>
    </item>
  </channel>
</rss>

