diff --git a/docs/scenarios/xml.rst b/docs/scenarios/xml.rst index 7484413..0cc3cdc 100644 --- a/docs/scenarios/xml.rst +++ b/docs/scenarios/xml.rst @@ -59,7 +59,7 @@ can be loaded into a Python dict like this: import xmltodict with open('path/to/file.xml') as fd: - obj = xmltodict.parse(fd.read()) + doc = xmltodict.parse(fd.read()) and then you can access elements, attributes and values like this: