Extracted XMLParser methods into separate delegate class