Parsing XML settings file using XmlReader in 2025.0.2

Another Phoenix Contact employee suggested using the (Try)ReadStartElement and (Try)ReadEndElement functions of the XmlReader class, as they are used by the firmware to parse all xml files and are thus more or less guaranteed to work properly.
I changed my code to use these functions instead and now it is able to parse the original xml file with its whitespace.