I am parsing a QByteArray. Inside the QByteArray there is text in XML form.

At some point in this XML, there is an Element that I want to consider and use it as QByteArray. The other Elements are used as text, therefore I can conver the element to text by doing something like: e.text();

How can I use the element and keep it as QByteArray ?