here is a demo which reads and displays xml.
This program reads the build output log and presents it to the user. It makes liberal use of the "Simple DOM Model Example" example provided by Qt.
To test it out. build it with Qt Creator. Launch it and open one of the xml files in the test_data directory.