Update xml.rst

This commit is contained in:
Omer Murat Yıldırım
2014-05-27 10:35:59 +03:00
parent d775f01b54
commit 1b867b9c5b
+1 -1
View File
@@ -57,7 +57,7 @@ can be loaded into a Python dict like this:
.. code-block:: python
import xmltodict
obj = xmltodict.parse('path/to/file.xml')
obj = xmltodict.parse(open('path/to/file.xml'))
and then you can access elements, attributes and values like this: