0

Currency converter tutorial is very useful in explaining how to download and parse an xml file through XmlListModel, but it seems it is not possible to parse a gizipped file in this way. How could I do?

lqskqs
  • 3

1 Answers1

0

Well, you can always gunzip it.

cat [file] | gunzip > file.xml

That will take the contents of the file, decompress them, and place them in file.xml. You should be able to parse that just like any old plain XML out there.

Daniel
  • 3,626
  • 3
  • 24
  • 46