mdr2.data.xml
Enhance the default data.xml emit functions so that the doctype declaration can be specified
emit
(emit e stream & {:keys [encoding doctype], :or {encoding "UTF-8"}})
Prints the given Element tree as XML text to stream. Options: :encoding
emit-str
(emit-str e & {:keys [encoding doctype], :as opts})
Emits the Element to String and returns it. Options: :encoding