How do I enter an XML namespace using the DOM Documents in Qt4.4? I have sucessfully created an XML file using the QDomDocument. Now I am trying to add the "msp" namespace to my markup.

Qt Code:
  1. QDomElement root = mOutputDomDoc.createElementNS( "msp", "Report" );
  2. ...
To copy to clipboard, switch view to plain text mode 

This produces the XML
<Report xmlns="msp">...</Report>
when I am looking for: <msp:Report>...</Report>. This same thing occurs with createAttributeNS( "msp", "Tag" ). Is there something that I am doing wrong with the namespaces?

Thanks!