Conclusion
Despite the development of newer technologies for producing and consuming XML, the DOM remains a solid approach and mature tool for processing XML. Even with a few quirks, MSXML's implementation can be fairly easily used from C++ programs. There can be more to processing XML documents with the DOM than has been shown here, particularly with regard to error handling, validation, and manipulating more complex document structures. However, these programs show that the basics of using the DOM from C++ with MSXML can easily be mastered. If you're working in a Visual C++ environment, the MSXML DOM deserves a place on your short list when evaluating XML APIs.