CODE QFile file( "/home/fale/index.xml" ); kDebug() << file.readAll(); QByteArray content = file.readAll(); QDomDocument doc; QDomElement root = doc.documentElement(); QDomDocumentType type = doc.doctype(); kDebug() << qPrintable(type.name()); DEBUG (only the result of this function) kbugbuster(14920) KBBBugParser::parseXml: "" kbugbuster(14920) KBBBugParser::parseXml: