QDomElement element = anchors.at(i).toElement();
int x = new Integer(element.attribute("x")); // x coordinate
int y = new Integer(element.attribute("y")); // y coordinate
int w = new Integer(element.attribute("w")); // width
int h = new Integer(element.attribute("h")); // height
QDomNodeList children = element.childNodes(); // all children ("t" nodes).
// Go through the children ("t" nodes)
for (int j=0; j<children.length(); j++) {
QDomElement child = children.at(j).toElement();
if (child.nodeName().equalsIgnoreCase("t")) {