<?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: XML Load same attributes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1654935#M729753</link>
    <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;XMLData:&lt;BR /&gt;LOAD id,&lt;BR /&gt;RowNo() as Status,&lt;BR /&gt;afbeelding&lt;BR /&gt;FROM&lt;BR /&gt;[&lt;A href="https://community.qlik.com/t5/New-to-QlikView/XML-Load-same-attributes/m-p/1654918#M384350" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/XML-Load-same-attributes/m-p/1654918#M384350&lt;/A&gt;]&lt;BR /&gt;(html, utf8, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;FinalTable:&lt;BR /&gt;LOAD Distinct id&lt;BR /&gt;Resident XMLData;&lt;/P&gt;&lt;P&gt;FOR i = 1 to FieldValueCount('Status')&lt;BR /&gt;&lt;BR /&gt;LET vField = FieldValue('Status', $(i));&lt;BR /&gt;&lt;BR /&gt;Left Join (FinalTable)&lt;BR /&gt;LOAD id,&lt;BR /&gt;afbeelding as [afbeelding $(vField)]&lt;BR /&gt;Resident XMLData&lt;BR /&gt;Where Status = $(vField);&lt;BR /&gt;&lt;BR /&gt;NEXT i;&lt;/P&gt;&lt;P&gt;DROP Table XMLData;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2019 10:46:08 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-12-06T10:46:08Z</dc:date>
    <item>
      <title>XML Load same attributes</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1654918#M729752</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to load an xml file into qlikview, this it self doesnt form a problem. But some key field have multiple attributes with the same field name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XML example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;artikel id="MSN-1362211"&amp;gt;
&amp;lt;afbeeldingen&amp;gt;&amp;lt;afbeelding hash="ad4f280203ea8339ee5a4762ee047149"&amp;gt;&amp;lt;![CDATA[https://***/images/Naaldvilt matten set.jpg]]&amp;gt;&amp;lt;/afbeelding&amp;gt;
&amp;lt;afbeelding hash="093b525f8b1df17cc2843fdb8405cf1f"&amp;gt;&amp;lt;![CDATA[https://***/images/MSN-1362211.jpg]&amp;gt;&amp;lt;/afbeelding&amp;gt;
&amp;lt;/afbeeldingen&amp;gt;
&amp;lt;/artikel&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result now:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;afbeelding&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MSN-1362211&lt;/TD&gt;&lt;TD&gt;https://***/images/Naaldvilt matten set.jpg&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MSN-1362211&lt;/TD&gt;&lt;TD&gt;https://***/images/MSN-1362211.jpg&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i would like:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Afbeelding1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Afbeelding2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MSN-1362211&lt;/TD&gt;&lt;TD&gt;https://***/images/Naaldvilt matten set.jpg&lt;/TD&gt;&lt;TD&gt;https://***/images/MSN-1362211.jpg&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1654918#M729752</guid>
      <dc:creator>bramvdpoel</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: XML Load same attributes</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1654935#M729753</link>
      <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;XMLData:&lt;BR /&gt;LOAD id,&lt;BR /&gt;RowNo() as Status,&lt;BR /&gt;afbeelding&lt;BR /&gt;FROM&lt;BR /&gt;[&lt;A href="https://community.qlik.com/t5/New-to-QlikView/XML-Load-same-attributes/m-p/1654918#M384350" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/XML-Load-same-attributes/m-p/1654918#M384350&lt;/A&gt;]&lt;BR /&gt;(html, utf8, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;FinalTable:&lt;BR /&gt;LOAD Distinct id&lt;BR /&gt;Resident XMLData;&lt;/P&gt;&lt;P&gt;FOR i = 1 to FieldValueCount('Status')&lt;BR /&gt;&lt;BR /&gt;LET vField = FieldValue('Status', $(i));&lt;BR /&gt;&lt;BR /&gt;Left Join (FinalTable)&lt;BR /&gt;LOAD id,&lt;BR /&gt;afbeelding as [afbeelding $(vField)]&lt;BR /&gt;Resident XMLData&lt;BR /&gt;Where Status = $(vField);&lt;BR /&gt;&lt;BR /&gt;NEXT i;&lt;/P&gt;&lt;P&gt;DROP Table XMLData;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 10:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1654935#M729753</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-06T10:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: XML Load same attributes</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1658255#M729754</link>
      <description>&lt;P&gt;Did Anil's suggestion work to solve your use case?&amp;nbsp; If so, do not forget to return to your post and use the Accept as Solution button on his post to give him credit for the assistance as well as let other Community Members know this worked.&amp;nbsp; The only other solution would be to update the xml schema I believe, as that should be from where we are pulling things...&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 21:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1658255#M729754</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-16T21:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: XML Load same attributes</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1658480#M729755</link>
      <description>&lt;P&gt;It's definitly an option, it works but takes a lot of time when you have 35.000 rows.&lt;/P&gt;&lt;P&gt;But the best option so far! Thx&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 12:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Load-same-attributes/m-p/1658480#M729755</guid>
      <dc:creator>bramvdpoel</dc:creator>
      <dc:date>2019-12-17T12:45:59Z</dc:date>
    </item>
  </channel>
</rss>

