pub fn merge_xml_elements(elements: &[XmlElement]) -> Option<XmlElement>Expand description
Merge multiple XML elements into one.
Scans elements for the first non-?xml root key; tolerates leading entries
that are empty or declaration-only (e.g. a partially-written disassembled file),
which previously caused the whole merge to return None and the caller to
emit an empty <root> document.