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 here).
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 "Rapid GUI Programming with Python and Qt", and here'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.