Skip to main content

run_post_processing_from_file_logged

Function run_post_processing_from_file_logged 

Source
pub fn run_post_processing_from_file_logged(
    path: &str,
    opts: &PostOptions<'_>,
) -> PostOutcome
Expand description

File-input variant of run_post_processing_logged: parses the XML from disk via libxml2’s streaming reader rather than from an in-memory String. Used for already-converted .xml inputs, where slurping the file would keep a whole extra copy of a multi-hundred-MB document resident alongside the DOM.