infer::text

Function is_xml

Source
pub fn is_xml(buf: &[u8]) -> bool
Expand description

Returns whether a buffer is xml data.

Conforms to whatwg specification.