QXmlStreamReader can accept a string:

http://doc.qtsoftware.com/4.5/qxmlst...StreamReader-4

~codeslicer