Juan R. <juanrgonzaleza@canonicalscience.com> wrote:
+---------------
| For instance, still the LISP community has no standard way to encode
| <tag key='value'>content</tag>
+---------------
True, we do have multiple approaches, but only a fairly small
number, each one having arisen according to a particular need
not entirely solved by the others:
((tag key "value") "content") ; The classic first attempt.
((:tag :key "value") "content") ; Avoids some naming conflicts.
(:tag (:key "value") "content") ; Can be easier for humans to read.
(:tag :key "value" "content") ; Ditto, but needs a NIL before
; content iff content starts with
; a naked keyword.
<tag :key "value" | content> ; [TML] Avoids string quotes and
; appeases parenthephobes.
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607