Re: clojure.data.zip Selecting a nested tag where tag shares same name as parent

2017-03-22 Thread Matching Socks
Does inserting clojure.zip/down between the two :thing's help? If these examples are representative, then clojure.core/xml-seq could be simpler than zippers: (def xmlstuff (first example1)) ;; you got a list from parse; get the root element (->> xmlstuff xml-seq (filter #(= :thing (:tag %)))

clojure.data.zip Selecting a nested tag where tag shares same name as parent

2017-03-22 Thread Peter Schmiedeskamp
Hello, I posted this question to StackOverflow, and one commenter suggested that this was a more appropriate place to ask this question (http://stackoverflow.com/questions/42940811/select-nested-xml-element-where-nested-tag-is-the-same-name-using-clojure-data-z) I have a bit of XML that I'm