Processing XML data using the QDomDocument class

Qt allows multiple ways to parse XML data, including the common method that we covered in the previous examples. This time around, we're going to learn how to read data from an XML file using another class, called QDomDocument.