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?
+3
source to share
2 answers
it looks like an extension request in clojure.data. Could you please open a question on the jira page.
http://dev.clojure.org/jira/browse/CLJ
even better if it contains a patch (sign the contribution agreement first)
0
source to share