Remove extra spaces from attribute output.
Fix broken xml output for point geometry.