cleaned up xml traversing to use namespace+tagname instead of magic numbers