clean xml code