Cleanup XML Parser