Skip to main content

parse

Function parse 

Source
pub fn parse(xml: &[u8]) -> Result<Document, RedispatchXmlError>
Expand description

Deserialise a Redispatch 2.0 XML document into the appropriate Document variant.

The document type is detected automatically from the root element.

ยงErrors