I think this probably should be in its own file "XmlHelper" is not a very explanatory name