Sanitize names attrs in output XML.