Add some helper functions to XMLElement that help convert XML strings and DOMDocument objects to XMLElement