Observe
(require '[fast-zip.core :as fz])
(require '[clojure.zip :as z])
(def xml {:content [{:content ["foo"]}]})
(-> (fz/xml-zip xml)
(fz/append-child {:content ["bar"]})
(fz/down)
(.. path changed?))
;; => nil
(-> (z/xml-zip xml)
(z/append-child {:content ["bar'"]})
(z/down)
(second)
(get-in [:ppath :changed?]))
;; => true
I'm not sure the best way to fix this right away but I'm investigating it.
Observe
I'm not sure the best way to fix this right away but I'm investigating it.