pub fn read_xml_report(
text: &str,
report: Option<&mut WriteReport>,
) -> Result<Doc, OmnistError>Expand description
Same as read_xml, but also reports format.attribute-dropped and
format.namespace-dropped adjustments (spec Sec8.3.8, D-3) into
report for every element that had an attribute or a namespace prefix
discarded, mirroring the write-side report: Option<&mut WriteReport>
pattern every writer in this crate already uses – see
crate::report’s module doc. report: None behaves exactly like
read_xml.