<?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: Looping over Filelist() with wierd symbols in filenames in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412044#M153398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Its working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Have a look at the example attched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only change the Root path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Oct 2012 15:17:39 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2012-10-14T15:17:39Z</dc:date>
    <item>
      <title>Looping over Filelist() with wierd symbols in filenames</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412041#M153395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a folder with lots of xml files, each having names with whitespaces and special characters. e.g. c:\my file is wierd (strange, obnoxious, wow).xml&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run this snippet but am not able to parse files with symbols like brackets '('. How do I enforce [ ] escaping within a filelist() call? I've tried putting [ ]&amp;nbsp; in both places but in vain...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;let vFilePath = 'C:\Users\Atif\Desktop\KM PMO\Discovery\DataSource\Closure Document\*.xml';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each File in filelist (vFilePath)&lt;/P&gt;&lt;P&gt; Load *&lt;/P&gt;&lt;P&gt; from $(File);&lt;/P&gt;&lt;P&gt; next File&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much Appreciated &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;A Business User &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;Atif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Oct 2012 10:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412041#M153395</guid>
      <dc:creator>mantaq10</dc:creator>
      <dc:date>2012-10-14T10:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Looping over Filelist() with wierd symbols in filenames</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412042#M153396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Atif,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Please can you provide the sample file? It'll be easy to work with the actual file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.QlikShare.com"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.QlikShare.com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Oct 2012 10:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412042#M153396</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-10-14T10:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Looping over Filelist() with wierd symbols in filenames</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412043#M153397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Deepak for the quick response. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you go. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, the parser churns out the string part starting from '('. &lt;/P&gt;&lt;P&gt;For other files, ',' is the culprit. Since there are 100's of files, i want to somehow incoporate a generic solution like an escape character, am plucking the last set of hair strands &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Oct 2012 11:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412043#M153397</guid>
      <dc:creator>mantaq10</dc:creator>
      <dc:date>2012-10-14T11:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Looping over Filelist() with wierd symbols in filenames</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412044#M153398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Its working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Have a look at the example attched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only change the Root path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Oct 2012 15:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412044#M153398</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-10-14T15:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Looping over Filelist() with wierd symbols in filenames</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412045#M153399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kaushik, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I got it solved with a similar code snippet...Appreciate your response. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vFilePath = 'C:\Users\Atif\Desktop\KM PMO\Discovery\DataSource\Closure Document\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each File in filelist ('$(vFilePath)*.xml')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOAD&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; , filename() as Project_Name3&lt;/P&gt;&lt;P&gt; from [$(File)] (XmlSimple, Table is [myFields]) ;&lt;/P&gt;&lt;P&gt; next File &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Oct 2012 15:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-over-Filelist-with-wierd-symbols-in-filenames/m-p/412045#M153399</guid>
      <dc:creator>mantaq10</dc:creator>
      <dc:date>2012-10-14T15:46:52Z</dc:date>
    </item>
  </channel>
</rss>

