Change xml to <settings ... /> format