pub fn validate_xml_fragment(fragment: &XmlFragment) -> Result<(), String>
Validate XML fragment content