xml_reader_for_doc

Function xml_reader_for_doc 

Source
pub unsafe fn xml_reader_for_doc<'a>(
    cur: &'a [u8],
    url: Option<&str>,
    encoding: Option<&str>,
    options: i32,
) -> XmlTextReaderPtr<'a>
Expand description

Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.

Returns the new reader or NULL in case of error.