<?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: how to extract data from xml tags which have same tag name and add into one column.? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-extract-data-from-xml-tags-which-have-same-tag-name-and/m-p/2270534#M48410</link>
    <description>&lt;P&gt;Do you know how many roles elements you will have in your XML? If so you can get them using the following method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your XPath loop will be.....&lt;/P&gt;
&lt;PRE&gt;"/root/root"&lt;/PRE&gt;
&lt;P&gt;You can get the first "roles" value using this....&lt;/P&gt;
&lt;PRE&gt;"roles[1]"&lt;/PRE&gt;
&lt;P&gt;....the second using this....&lt;/P&gt;
&lt;PRE&gt;"roles[2]"
&lt;/PRE&gt;
&lt;P&gt;....etc, etc...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would then merge them together, maybe using a tMap&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2019 17:15:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-25T17:15:23Z</dc:date>
    <item>
      <title>how to extract data from xml tags which have same tag name and add into one column.?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-extract-data-from-xml-tags-which-have-same-tag-name-and/m-p/2270533#M48409</link>
      <description>&lt;P&gt;Hi.!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The input is&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;lt;root&amp;gt; &amp;lt;root&amp;gt; &amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt; &amp;lt;FN&amp;gt;aa&amp;lt;/FN&amp;gt; &amp;lt;roles&amp;gt;bb&amp;lt;/roles&amp;gt; &amp;lt;roles&amp;gt;cc&amp;lt;/roles&amp;gt; &amp;lt;roles&amp;gt;dd&amp;lt;/roles&amp;gt; &amp;lt;roles&amp;gt;ee&amp;lt;/roles&amp;gt; &amp;lt;/root&amp;gt; &amp;lt;/root&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but I need to get add the roles in the single column like this&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;id&amp;nbsp; FN&amp;nbsp; roles&lt;/DIV&gt;&lt;DIV&gt;1&amp;nbsp; aa&amp;nbsp; &amp;nbsp;bb,cc,ee,dd&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance.!&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Nov 2019 13:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-extract-data-from-xml-tags-which-have-same-tag-name-and/m-p/2270533#M48409</guid>
      <dc:creator>McJingles</dc:creator>
      <dc:date>2019-11-25T13:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract data from xml tags which have same tag name and add into one column.?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-extract-data-from-xml-tags-which-have-same-tag-name-and/m-p/2270534#M48410</link>
      <description>&lt;P&gt;Do you know how many roles elements you will have in your XML? If so you can get them using the following method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your XPath loop will be.....&lt;/P&gt;
&lt;PRE&gt;"/root/root"&lt;/PRE&gt;
&lt;P&gt;You can get the first "roles" value using this....&lt;/P&gt;
&lt;PRE&gt;"roles[1]"&lt;/PRE&gt;
&lt;P&gt;....the second using this....&lt;/P&gt;
&lt;PRE&gt;"roles[2]"
&lt;/PRE&gt;
&lt;P&gt;....etc, etc...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would then merge them together, maybe using a tMap&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 17:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-extract-data-from-xml-tags-which-have-same-tag-name-and/m-p/2270534#M48410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-25T17:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract data from xml tags which have same tag name and add into one column.?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-extract-data-from-xml-tags-which-have-same-tag-name-and/m-p/2270535#M48411</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp; It worked...&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 04:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-extract-data-from-xml-tags-which-have-same-tag-name-and/m-p/2270535#M48411</guid>
      <dc:creator>McJingles</dc:creator>
      <dc:date>2019-11-26T04:09:38Z</dc:date>
    </item>
  </channel>
</rss>

