<?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 Opening an XML File in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Opening-an-XML-File/m-p/1259821#M25640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help with the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several XML files that I need to turn into tables. It all was going good until I realized that the XML format had an attribute that has different values results, but its exactly the same:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;lt;cfdi:Impuestos totalImpuestosTrasladados="1070.77" totalImpuestosRetenidos="1383.08"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;lt;cfdi:Retenciones&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfdi:Retencion importe="669.23" impuesto="ISR"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;cfdi:Retencion importe="713.85" impuesto="IVA"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the dimension in the table would look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Impuestos/Retenciones/Retencion/&lt;SPAN style="font-size: 13.3333px;"&gt;importe&lt;/SPAN&gt;] as Impuesto1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as it is the same xml attribute, it only takes the first value (that would be 669.23); what QV did to load this, was creating a different table, and putting all together with a key, but this does not works when I am loading different xml files with the same script. My question is: how can I load this two values in the same table, even though they are named the same, but have different result values???&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;thank you, and happy new year (: &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2017 02:29:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-03T02:29:45Z</dc:date>
    <item>
      <title>Opening an XML File</title>
      <link>https://community.qlik.com/t5/App-Development/Opening-an-XML-File/m-p/1259821#M25640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help with the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several XML files that I need to turn into tables. It all was going good until I realized that the XML format had an attribute that has different values results, but its exactly the same:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;lt;cfdi:Impuestos totalImpuestosTrasladados="1070.77" totalImpuestosRetenidos="1383.08"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;lt;cfdi:Retenciones&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfdi:Retencion importe="669.23" impuesto="ISR"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;cfdi:Retencion importe="713.85" impuesto="IVA"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the dimension in the table would look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Impuestos/Retenciones/Retencion/&lt;SPAN style="font-size: 13.3333px;"&gt;importe&lt;/SPAN&gt;] as Impuesto1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as it is the same xml attribute, it only takes the first value (that would be 669.23); what QV did to load this, was creating a different table, and putting all together with a key, but this does not works when I am loading different xml files with the same script. My question is: how can I load this two values in the same table, even though they are named the same, but have different result values???&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;thank you, and happy new year (: &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 02:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Opening-an-XML-File/m-p/1259821#M25640</guid>
      <dc:creator />
      <dc:date>2017-01-03T02:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Opening an XML File</title>
      <link>https://community.qlik.com/t5/App-Development/Opening-an-XML-File/m-p/1259822#M25641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello??? I need heeelp, pleaase &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 21:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Opening-an-XML-File/m-p/1259822#M25641</guid>
      <dc:creator />
      <dc:date>2017-01-03T21:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Opening an XML File</title>
      <link>https://community.qlik.com/t5/App-Development/Opening-an-XML-File/m-p/1259823#M25642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When loading multiple XML files, the problem is generally that the QV generated key is duplicated -- which is a problem. Take a look at my second answer in this thread \&lt;A href="https://community.qlik.com/thread/1155"&gt;XML Keys&lt;/A&gt;&lt;/P&gt;&lt;P&gt;as to how to generate unique keys per file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 01:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Opening-an-XML-File/m-p/1259823#M25642</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-01-04T01:00:46Z</dc:date>
    </item>
  </channel>
</rss>

