If you are looking for a working C++ DOM wrapper for libxml, you should visit the gmetadom project !
libgdome-cpp is a C++ library that provides the DOM level 2 Core API for accessing XML documents.
It is implemented as a wrapper around the libgdome library which in turn uses libxml.
This project was derived from libgdome-ruby, which provides the DOM api for the programming language Ruby.
Download libgdome-cpp from the project's download page.
libgdome-cpp is available under the terms of the GNU Library General Public License (LGPL), version 2.
unmaintained