<?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: tXMLMap how to get multiple attribute values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-how-to-get-multiple-attribute-values/m-p/2367297#M130693</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The loop element should be set  as below to extract all  WID value.&lt;/P&gt;&lt;P&gt;/wd:Report_Data/wd:Report_Entry/wd:Customer_Name/wd:ID&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U10000027qQYIAY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155032i1130E749408E395F/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U10000027qQYIAY.png" alt="069U10000027qQYIAY.png" /&gt;&lt;/span&gt;​&lt;/P&gt;&lt;P&gt;You may need to further process the output of tXMLMap to get the desired output format. &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;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 07:48:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-18T07:48:16Z</dc:date>
    <item>
      <title>tXMLMap how to get multiple attribute values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-how-to-get-multiple-attribute-values/m-p/2367296#M130692</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;i have a xml input like below from an API , now i am able to use this is tXMLMap and derive Customer_code, Customer_name-Descriptor but when i need to extract wd:ID the values are not coming correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;wd:Report_Data xmlns:wd="urn:com.abcWDXYZ.report/REPORTABC"&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;wd:Report_Entry&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;wd:Customer_Code&amp;gt;1CS00&amp;lt;/wd:Customer_Code&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;wd:Customer_Name wd:Descriptor="AMS_XYZ LCD"&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;wd:ID wd:type="WID"&amp;gt;4351ec787ddaf8c532092c4c&amp;lt;/wd:ID&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;wd:ID wd:type="Organization_Reference_ID"&amp;gt;CSH_0000003&amp;lt;/wd:ID&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;wd:ID wd:type="Custom_Organization_Reference_ID"&amp;gt;C0003&amp;lt;/wd:ID&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;/wd:Customer_Name&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;wd:Customer_ID&amp;gt;CSH_CUS_1CS0000003&amp;lt;/wd:Customer_ID&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since &lt;/P&gt;&lt;P&gt;&amp;lt;wd:ID wd:type= has multiple attribute values like WID, Org_id ,Custom org id , what expression i can use to get the right values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to pass this in different columns like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer_code-- Customer_name-- WID--Org_id-- ,Custom org id---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried different combinations but not sure which expression would do the trick &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[row11.string:/wd:Report_Data/wd:Report_Entry/wd:Customer_Name/wd:ID/@wd:type/WID]&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-how-to-get-multiple-attribute-values/m-p/2367296#M130692</guid>
      <dc:creator>talend777</dc:creator>
      <dc:date>2024-11-15T21:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap how to get multiple attribute values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-how-to-get-multiple-attribute-values/m-p/2367297#M130693</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The loop element should be set  as below to extract all  WID value.&lt;/P&gt;&lt;P&gt;/wd:Report_Data/wd:Report_Entry/wd:Customer_Name/wd:ID&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U10000027qQYIAY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155032i1130E749408E395F/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U10000027qQYIAY.png" alt="069U10000027qQYIAY.png" /&gt;&lt;/span&gt;​&lt;/P&gt;&lt;P&gt;You may need to further process the output of tXMLMap to get the desired output format. &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;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 07:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-how-to-get-multiple-attribute-values/m-p/2367297#M130693</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-18T07:48:16Z</dc:date>
    </item>
  </channel>
</rss>

