The new SaveDocumentIntoString method for the PBDOM_DOCUMENT class saves the serialized XML string of the DOM tree contained within the PBDOM_DOCUMENT object into a string.