Hi, 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 polish):
(xmlgen '(html
(head
(title "hello")
(meta :something "hi"))
(body
(h1 "woohhooo")
(p "text")
(p "more text"))))
Produces this (though wrapped):
<html>
<head>
<title>hello</title>
<meta something="hi" />
</head>
<body>
<h1>woohhooo</h1>
<p>text</p>
<p>more text</p>
</body>
</html>
xml-gen.el
Description: application/emacs-lisp
-- Phil Jackson http://www.shellarchive.co.uk
_______________________________________________ gnu-emacs-sources mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
