Introduction to xml module

Python has built-in XML parsing capabilities that you can access via its xml module. In this article, we will be focusing on two of the xml module’s sub-modules:

  • minidom
  • ElementTree

We’ll start with minidom simply because this used to be the de-facto method of XML parsing. Then we will look at how to use ElementTree instead.

Get hands-on with 1200+ tech skills courses.