Need an XML parser for huge XML files?

I had to parse XML files of 250 MB in size recently, which overburdened Xojo’s XMLDocument class. As I only needed certain elements from the huge file, I wrote a parser using the XMLReader class, adding a limited Xpath filtering ability so that you can specify which XML paths you want extracted into a Node tree. This will save both time and memory.

If you have need for such a feature, contact me.

1 Like

Yeah the event driven reader can handle just about anything since it never reads the whole thing into memory
I’ve had to do similar way way way back with it to parse some enormous iTunes XML files (one had more than 100,000 tracks in it)

1 Like