pub unsafe fn xml_reader_new_file(
reader: XmlTextReaderPtr<'_>,
filename: &str,
encoding: Option<&str>,
options: i32,
) -> i32Expand description
Parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.
Returns 0 in case of success and -1 in case of error