Do a document.importNode on the new body.

Setting the document.domain on the consuming page caused IE10 to error out with a WrongDocumentError.