pub fn write_text_element( writer: &mut Writer<Cursor<Vec<u8>>>, name: &str, value: &str, ) -> Result<(), XmlError>
Helper to write an XML element with text content.