pub fn xml_serialize_with_decl<T>(obj: T) -> Stringwhere
T: XmlSerialize,Expand description
The entry for serializing. T should have declared the root by #[xmlserde(root=b"")]
to tell the serializer the tag name of the root. This function will add the header needed for
a XML file.