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:
[:html
[:head
[:title "Main Page"]]
[:body
[: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