Skip to main content

from_xml_document

Function from_xml_document 

Source
pub fn from_xml_document(
    xml: &str,
    ty: &DynamicType,
) -> Result<DynamicData, DynXmlError>
Expand description

Parses xml as a value of type ty (the root element’s tag is not checked against a name — the caller already knows what it asked for).

§Errors

See DynXmlError.