Imports object data from an XML string or XMLDOM object.