Wherein we all hate XML parsing