XmlFormat is rewritten again to have full namespace support, fixing attribute name parsing on leaf nodes and much more

Related to #187 and #202