pub fn diff_xml(old: &str, new: &str) -> Result<XmlDiff, Error>Expand description
Diff two XML strings and produce a list of changes with XPath-like paths.
Both strings must be well-formed XML documents. The diff is position-based: children at the same position are compared pairwise.
ยงErrors
Returns an error if either XML string cannot be parsed.