pub fn to_entities_xml(input: String) -> Result<String>
Replace applicable characters with their XML named entities.
Unknown characters are left as-is. Those with XML syntax significance (<, >, &, “, ’) are encoded.