title: What is the Qt6/PySide6 equivalent of QXmlDefaultHandler?
body: <p>I am currently trying to port from PyQt4 to PySide6 an application that uses the QXmlDefaultHandler, however this class (as many others) is no longer supported in Qt6 (as can be seen <a href="https://doc-snapshots.qt.io/qt6-dev/qtcore5compat-module.html" rel="nofollow noreferrer">here</a>).</p>
  <p>So I am looking for a solution on how I can adapt the code and replace the QXmlDefaultHandler in my inheritance setup.
  The application I am porting is an example from the book &quot;Rapid GUI Programming with Python and Qt&quot;, and <a href="https://github.com/martinlanton/QtCookBook/blob/master/src/08_Data_Handling_and_Custom_File_Formats/moviedata.py#L660" rel="nofollow noreferrer">here</a>'s the specific file in question.
  I am new to dealing with that part of Qt, and I am not particularly determined to keep it as is, but I'd like to find as close a replacement as possible to the original code, in order to keep the book relevant with the updated examples.</p>