to_entities_xml

Function to_entities_xml 

Source
pub fn to_entities_xml(input: String) -> Result<String>
Expand description

Replace applicable characters with their XML named entities.

Unknown characters are left as-is. Those with XML syntax significance (<, >, &, “, ’) are encoded.