Split functionality into namespaces, mostly according to namespaces by Herwig Hochleitner.
Resolving XML to QNames. Still need to extract resolution to a new namespace.