The Qt XML module provides an implementation of the DOM standard for XML.

.. note:: Qt XML will no longer receive additional features. For reading or
          writing XML documents iteratively (SAX), use the
          :class:`~PySide6.QtCore.QXmlStreamReader` and :class:`~PySide6.QtCore.QXmlStreamWriter`
          classes. The classes are both easier to use and more compliant with the XML standard.

Using the Module
^^^^^^^^^^^^^^^^

To include the definitions of modules classes, use the following
directive:

::

    import PySide6.QtXml
