How to work with XML from native code like C++? You could use XmlLite

Posted: (EET/GMT+2)

 

If you are working with native code development, for example with Visual C++, and you need to process XML based data, you can basically use the MSXML (SAX2) type of native code parser, or use the same through COM. For .NET developers, you could use the parser in System.Xml namespace, but using this from native code is not super-efficient.

Microsoft has developed a new parsing library called XmlLite, which is documented on MSDN under the "Data Access and Storage" section.

Microsoft's XmlLite parser is a so-called forward-only parser, which means the whole XML file is not read into memory and parsed. Instead, the XML input is parsed bit by bit, and this is called the pull model.

Happy XML hacking!