pub fn looks_like_xml(bytes: &[u8]) -> bool
Whether bytes look like XML: UTF-8 whose first non-space is <.
bytes
<
Not a schema check. A document that starts with a BOM or a comment-only prologue is not recognized.