pub fn escape_xml(s: &str) -> String
Escapes XML special characters in text content and attribute values.