xml_ctxt_read_doc

Function xml_ctxt_read_doc 

Source
pub fn xml_ctxt_read_doc<'a>(
    ctxt: &mut XmlParserCtxt<'a>,
    cur: &'a [u8],
    url: Option<&str>,
    encoding: Option<&str>,
    options: i32,
) -> Option<XmlDocPtr>
Expand description

Parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context

Returns the resulting document tree