I am also looking for better ways to transform my data into XML. Currently, I am transforming my dataset into a hash-map of the format required by lazy-xml, but I'm still uncertain if that is the best way or not.
I've been considering using Enlive in my application instead of the HTML generation capabilities of compojure, but haven't made the jump yet. If using Enlive for XML works for you, let us know and I'll give it furthur consideration. Daniel E. Renfer On Sat, Sep 12, 2009 at 3:38 AM, Christophe Grand <christo...@cgrand.net> wrote: > Hi Robert, > > On Fri, Sep 11, 2009 at 4:01 PM, Robert Campbell <rrc...@gmail.com> wrote: >> >> I am using clojure.contrib.sql which gives me the typical Clojure >> ResultSet: a set of maps. Are there any tricks you've used in the past >> to transform this into XML? I was looking at Enlive since I've used it >> - and loved it - for HTML transformations in the past, but examples >> are few and I don't see how I'd use it. > > I'm sorry for the minimal documentation and the near complete lack of > examples :-/ > > Can you provide me with a sample of an input seq and the corresponding > (expected) XML output? > > Christophe > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---