Skip to main content

escape_xml_character

Function escape_xml_character 

Source
pub fn escape_xml_character(character: char) -> String
Expand description

Escape one character: the five XML entities, plus control characters outside the ordinary-whitespace set replaced with U+FFFD (XML 1.0 does not allow most control characters; ordinary whitespace stays useful to the model).