Hi

I want to display the xml data in QDOMDocument in console when my application executes.

I have this code:

Qt Code:
  1. if ( !xml.setContent( content ) ) {
  2. mDebug() << "Cannot parse xml file ";
  3. return;
  4. }
  5.  
  6. QDomElement root = xml.documentElement();
To copy to clipboard, switch view to plain text mode 

content is declared as QByteArray &constant.

My primary aim is to see the structure of the xml file being downloaded.
How can i do this in console or otherwise ?