Format xml.