[3.8] Sanitize XML data