pub fn to_xml(doc: &Document, config: &ToXmlConfig) -> Result<String, String>
Convert HEDL Document to XML string