Can now save XML prettifully