Unlike plain maps and records, XML element records don't print metadata when {{\*print-meta*}} is enabled. It would be useful to have data.xml honour this setting when printing.
(require '[clojure.data.xml :as xml])
(set! *print-meta* true)
(with-meta (xml/element :foo) {::xml/location-info {}})
;; => #xml/element{:tag :foo}
(with-meta {:tag :foo} {::xml/location-info {}})
;; => ^#:clojure.data.xml{:location-info {}} {:tag :foo}
This is a minor enhancement but something that I missed while debugging data.xml data structures.