[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xml-gen.el --- A DSL for generating XML.

From: Phil Jackson
Subject: xml-gen.el --- A DSL for generating XML.
Date: Fri, 15 Aug 2008 10:29:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)


There may already be something like this but I couldn't find it (I wrote
the majority of it on the train this morning, so it may need some

 (xmlgen '(html
            (title "hello")
            (meta :something "hi"))
            (h1 "woohhooo")
            (p "text")
            (p "more text"))))

Produces this (though wrapped):

     <meta something="hi" />
     <p>more text</p>

Attachment: xml-gen.el
Description: application/emacs-lisp

 Phil Jackson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]