I've written a small XML pretty printing library that may be useful
for debugging XHTML or XML outputs, especially those generated from
libraries like clj-html or compojure.html. Usage is straightforward:

=> (use 'ppxml)
nil
=> (ppxml "<html><body><h1>Hello</h1></body></html>")
<html>
  <body>
    <h1>Hello</h1>
  </body>
</html>

I've uploaded the library to the group:
http://groups.google.com/group/clojure/web/ppxml.clj

I'm not sure if this is useful and generic enough to qualify for
clojure-contrib, but if anyone feels that it is, they are welcome to
add it :)

- James

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to