pallet.enlive documentation

Wrappers for enlive to enable template specialisation and use xml.

defsnippet

[name source session args & forms]

A snippet returns a collection of nodes.

xml-emit

[f & args]

Emit a template, adding an XML Declaration.

xml-template

[source session args & forms]

A template returns a seq of string: Overridden from enlive to defer evaluation of the source until runtime, and to enable specialisation on node-type