You can read the QT documentation.
But basically each xml node has a previous,child and next node. Is like a tree... you can browse through each node with a while loop checking that previous,child or next are not null. This is the most basic way... However, the XML module of QT has lost of function to accelerate the process of reading, finding nodes and changing values.