Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str, path: &Path) -> Result<Publication, LabcodesetError>
Expand description

Parses a publication document.

ยงErrors

Returns LabcodesetError when the document is malformed or carries an element or attribute the schema does not define; path names it.