Added new XML parse mode to DiffObj method.