Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> Result<Document, JsError>
Expand description

Parse an XML document.

ยงErrors

Returns a JsError carrying the position and reason if the input is not well-formed.