Typo in 'XFormToDict()'.

`type(etree.Element)` -> `<type 'builtin_function_or_method'>`

`isinstance(root, etree.Element)` -> `TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types`