Wednesday, May 18, 2011

Embedding XML trees in Lisp

Like Lisp expressions XML documents are essentially just trees:
However, since traditional XML notation is verbose and inefficient it makes sense to embed XML in Lisp:
  [:title "Main Page"]]
  [:p "Welcome"]]]

This new notation also us to integrate Lisp with many XML based data formats such as HTML and SVG.

No comments:

Post a Comment