Added a couple of extra XML helpers