Personally I havn't done any XML with Qt sofar, but from the looks of it, you might want to have a look at QDomDocument and the examples there.