The first argument to DOMDocument should be the xml version.
This is causing all content to show up in the 'version' field.  Relates to #477