Hi, user=> (use 'clojure.contrib.lazy-xml) nil user=> (emit '{:tag :foo :attrs {:a "b" :c "d"} :content ({:tag :bar :attrs {:e "f"} :content ({:tag :baz :attrs nil :content ("hello")})})} :pad true) <?xml version='1.0' encoding='UTF-8'?> <foo a='b' c='d'> <bar e='f'><baz>hello</baz></bar></foo>
nil The 'foo' element is getting the requested padding, but it does not propagate to the nested elements. I believe line 150 of lazy-xml.clj should read, (apply emit-element c opts) to fix this. Regards, Phil --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---