Development – Leet 4 Life

Software Development Code Samples and More

Skip to: Content | Sidebar | Footer

Category: Windows Forms

Parsing Large XML Files In VB.NET

24 October, 2012 | VB.NET, Windows Forms | By: Michael Adams

Recently I needed to modify a VB.NET 2.0 windows forms application to import data from an XML file over 2GB in size that was provided by a 3rd party vendor. The XML file contained multiple high level nodes, however, I’m was only concerned with nodes that matched my “PARENTNODENAME” string. Unfortunately, this file contained tens of thousands of “PARENTNODENAME” nodes that I needed to parse and the perform various database actions with the data they contained. The problem being that one could not simply read this into a single XML object as it would cause memory issues and more often [Read More…]