Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to import data into Qlik Sense from a file that kind of looks like XML, but it has a header of <wddxPacket version="1.0">
Sample data below:
I suggest to adjust the header to get a valid statement like:
<?xml version="1.0" encoding="UTF-8"?>
to find out if this file has a for Qlik valid xml-structure. Maybe some more adjustments might be needed to get such file loaded into Qlik.
If this isn't possible you will need any kind of connector to read the files or loading them purely as txt and applying a lot of string-functions to extract the wanted content (is probably rather the worse case).
But if this worked with rather less efforts and there aren't many files and they doesn't come/change too often you may remain by such manually approach. If such adjustments aren't practically you may look for any external script/batch to manipulate the content or you may do this manipulation within Qlik and then loading it with from_field.
I ran into other issues downloading the web file and opening in Notepad ++ to edit it. Somehow, it ended up without the <> brackets and instead looked something like this:
<site>
<name>19 - CELERY - 140 ACRES - TNA RANCH/</name>
I ended up downloading the web file into an Access database and I used a VBA routine to extract the data and load it to a SQL Server table.