refactorings in XML parsing (for processing remote resources)
Merge branch 'experimental' of https://github.com/jmarranz/itsnat into experimental