Clojure hierarchical diff of two xml files
I am trying to use hierarcial diff two small xml files. Clojure.data/diff closes me:
(clojure.data/diff (clojure.xml/parse "file1.xml") (clojure.xml/parse "file2.xml"))
clojure.data/diff will return before and after, but does not support xml structure (no tag elements), and before and after cannot be easily converted to xml (like with Clojure. xml / emit).
How can I accomplish hierarchical difference of two xml files in clojure?
source to share