The purpose of this is essentially to extract all the text from the XML 1 in a (somewhat) readable format. This was used to create PDF files to upload an entire wiki ...
See also https://gitlab.com/rebolek/markup/-/wikis/home for implementation details and discussions. XML codec is used to read XML data and convert them to the Red ...