<?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: Iterate through multiple xml files with same schema in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Iterate-through-multiple-xml-files-with-same-schema/m-p/2281052#M3596</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Abhishek,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have any blog or detail explanation regarding this requirement then please share with me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pravin&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 13:12:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-18T13:12:15Z</dc:date>
    <item>
      <title>Iterate through multiple xml files with same schema</title>
      <link>https://community.qlik.com/t5/Data-Quality/Iterate-through-multiple-xml-files-with-same-schema/m-p/2281050#M3594</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a folder that contain a list of xml files with the same schema.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;file1.xml&lt;/P&gt;
&lt;P&gt;file2.xml&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;file3.xml&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;--file1.xml

&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;debtors&amp;gt;
    &amp;lt;debtor&amp;gt;
        &amp;lt;clientNum&amp;gt;14069&amp;lt;/clientNum&amp;gt;
        &amp;lt;debtorReferenceNumber&amp;gt;aa3373f5ae604ff883b3686086626d&amp;lt;/debtorReferenceNumber&amp;gt;
        &amp;lt;activityCode&amp;gt;53168&amp;lt;/activityCode&amp;gt;
        &amp;lt;debtorName&amp;gt;Debtor_name_5441&amp;lt;/debtorName&amp;gt;
     &amp;lt;/debtor&amp;gt;
&amp;lt;debtors&amp;gt;

--file2.xml

&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;debtors&amp;gt;
    &amp;lt;debtor&amp;gt;
        &amp;lt;clientNum&amp;gt;659789&amp;lt;/clientNum&amp;gt;
        &amp;lt;debtorReferenceNumber&amp;gt;dfkshdfs sdfgjsd&amp;lt;/debtorReferenceNumber&amp;gt;
        &amp;lt;activityCode&amp;gt;64511&amp;lt;/activityCode&amp;gt;
        &amp;lt;debtorName&amp;gt;Debtor_name_657716&amp;lt;/debtorName&amp;gt;&lt;BR /&gt;     &amp;lt;/debtor&amp;gt;
&amp;lt;debtors&amp;gt;

--Expected output

&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;debtors&amp;gt;
    &amp;lt;debtor&amp;gt;
        &amp;lt;clientNum&amp;gt;14069&amp;lt;/clientNum&amp;gt;
        &amp;lt;debtorReferenceNumber&amp;gt;aa3373f5ae604ff883b3686086626d&amp;lt;/debtorReferenceNumber&amp;gt;
        &amp;lt;activityCode&amp;gt;53168&amp;lt;/activityCode&amp;gt;
        &amp;lt;debtorName&amp;gt;Debtor_name_5441&amp;lt;/debtorName&amp;gt;
    &amp;lt;/debtor&amp;gt;
    &amp;lt;debtor&amp;gt;
        &amp;lt;clientNum&amp;gt;659789&amp;lt;/clientNum&amp;gt;
        &amp;lt;debtorReferenceNumber&amp;gt;dfkshdfs sdfgjsd&amp;lt;/debtorReferenceNumber&amp;gt;
        &amp;lt;activityCode&amp;gt;64511&amp;lt;/activityCode&amp;gt;
        &amp;lt;debtorName&amp;gt;Debtor_name_657716&amp;lt;/debtorName&amp;gt;
     &amp;lt;/debtor&amp;gt;&lt;BR /&gt;     &amp;lt;debtor&amp;gt;&lt;BR /&gt;      ...&lt;BR /&gt;      ...&lt;BR /&gt;      ...&lt;BR /&gt;      &amp;lt;/debtor&amp;gt;
&amp;lt;debtors&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you advice please, how can i get the above expected output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Iterate-through-multiple-xml-files-with-same-schema/m-p/2281050#M3594</guid>
      <dc:creator>RA6</dc:creator>
      <dc:date>2024-11-16T09:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate through multiple xml files with same schema</title>
      <link>https://community.qlik.com/t5/Data-Quality/Iterate-through-multiple-xml-files-with-same-schema/m-p/2281051#M3595</link>
      <description>&lt;P&gt;Hi asadasing,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please follow the below steps -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Add tFileList component to read all the files.&lt;/P&gt;
&lt;P&gt;2) Add tFileInputXML component to extract the input xml content (extract to the fields - clientNum, debtorReferenceNumber&amp;nbsp;etc..).&lt;/P&gt;
&lt;P&gt;3) Add tUnite to unite contents of the files.&lt;/P&gt;
&lt;P&gt;4) At last add tAdvancedFileOutputXML component and configure the required XML there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that will help you !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 07:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Iterate-through-multiple-xml-files-with-same-schema/m-p/2281051#M3595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T07:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate through multiple xml files with same schema</title>
      <link>https://community.qlik.com/t5/Data-Quality/Iterate-through-multiple-xml-files-with-same-schema/m-p/2281052#M3596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Abhishek,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have any blog or detail explanation regarding this requirement then please share with me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pravin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 13:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Iterate-through-multiple-xml-files-with-same-schema/m-p/2281052#M3596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-18T13:12:15Z</dc:date>
    </item>
  </channel>
</rss>

