Hello group!

Enlive (http://github.com/cgrand/enlive/tree/master) is a selector based 
templating library.
The main design goal was to decouple html and presentation code, that's 
why enlive templates are plain old html files (it will ease 
roundtripping with designers).
In code, you have to declare where and how to alter the html template 
using CSS-like selectors.
The resulting templatings functions are compiled (the html tree isn't 
transformed at runtime) and yields a seq of strings.

Here is an example:
http://github.com/cgrand/enlive/blob/2a15c466048f7e0311243b3d7a669705bbcbe072/src/net/cgrand/enlive_html/examples.clj

(Disclaimer: original idea by Ozzilee, 
http://clojure-log.n01se.net/date/2008-05-30.html#09:19)

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