I know this...I'm trying a way like this:
Qt Code:
  1. QDomElement tag1( doc.createElement( "PLAIN Property" ) );
  2. QDomText t1( doc.createTextNode( text ) );
  3. tag1.appendChild( t1 );
To copy to clipboard, switch view to plain text mode 
using QDomElement to insert tag....