untidy.net :: untidy c++ :: XMLFragment(Last Update: 10th April 2003)

This is a set of wrapper classes (incomplete in some places) for MSXML making it easy to use this powerful XML parser without having to worry about the COM stuff required in the background. These classes have been extensively tested by myself and others. I will add to them as I need to. The classes make use of CString as an interface to pass strings in and out. I am working on a version in which you can choose between CString and STL string support.


Start by creating either a CXMLFragment for a string of XML or a CXMLFile to load from a file. Then use the obvious and usual DOM methods to navigate the XML. More usage information to come.

This code is unicode safe.


Download Source (BSD license, c++)