XML Processing Modules
XML Processing Modules
Source code: Lib/xml/
Python’s interfaces for processing XML are grouped in the xml
package.
Warning
The XML modules are not secure against erroneous or maliciously constructed data. If you need to parse untrusted or unauthenticated data see the XML vulnerabilities and The defusedxml and defusedexpat Packages sections.
It is important to note that modules in the xml
package require that there be