Hi Currently data.xml doesn't currently support the specification of doctypes when emitting XML (see http://dev.clojure.org/jira/browse/DXML-10). I created a patch to support this. Now it appears that data.xml is in the midst of a big refactoring so I'm wondering if and how I should attach the patch to the jira bug.
The patch basically just adds another option to emit, emit-str, indent and indent-str which allows to specify the doctype declaration. It then simply delegates to the underlying XMLStreamWriter by invoking .writeDTD if there is a doctype. The patch can be found at https://github.com/egli/data.xml/compare/clojure:master...master?diff=unified. Signing the CA will take a bit of time, so I thought I could get the conversation already started while the legal process is under way. Thanks Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.