Python and XML

A variety of XML processing solutions are available for Python. This page attempts to list the major tools.

Packages in the standard library

The standard library has a number of tools available, which fall into mainly three categories:

The DOM and SAX packages have the advantage of being compatible with standard or de facto standard APIs, so users who are already familiar with these APIs can use them without learning too many new things. Everyone else should start with the faster and more pythonic ElementTree library, which is very well integrated into the Python language, and therefore very easy to learn and use.

External packages

A long list of special purpose and general purpose Python XML packages is available from PyPI. The following is a choice of major tools that support a broader set of XML features.

Pythonic tools

W3C DOM-like libraries

XPath Support

XSLT Support

If not mentioned otherwise, this means XSLT 1.0, not XSLT 2.0.

XML-based Communications

Web Services

Object Serialization in XML

Books and Articles

SIG

Editorial Notes

The above lists should be arranged in ascending alphabetical order - please respect this when adding new entries. When specifying release dates please use the format YYYY-MM-DD.

PythonXml (last edited 2024-07-06 11:02:04 by NormToveyWalsh)

Unable to edit the page? See the FrontPage for instructions.