Added another convenience method to walk over XML documents