Refactored backend xmlparser source