Remove extra whitespace from XML output.