Skip to main content

xml_escape

Function xml_escape 

Source
pub fn xml_escape(s: &str) -> String
Expand description

Escape XML special characters in a string for safe SOAP payload interpolation.

Replaces &, <, >, ", and ' with their XML entity equivalents.