[extractor/common] Introduce _parse_xml