I'm currently having trouble with reading some xml files that have different encodings. Therefore I'm trying to get the encoding out of the xml Declaration.
I know that to create the Declaration you use root.mkp.xmlDeclaration(version:"1.0", encoding:"UTF-8") But I couldn't find a way to read it.
greetings