pub fn encode_to_xml( type_name: &str, fields: &BTreeMap<String, FieldValue>, ) -> Result<String, CodecError>
Encode eine Sample-Map in XML. Spec §6.4.
Emit bei Tag-Namen-Validation.
Emit