http://qs321.pair.com?node_id=243909


in reply to Re: is XML too hard?
in thread is XML too hard?

I don't know lisp but this analogy seems to me not quite correct. For instance how about this XML:
<REALLYLONGNAME with_a_property='aaa'> some free form text <ANOTHERLON +GNAME>foo</ANOTHERLONGNAME> text text</REALLYLONG +NAME>
How would you translate this to lisp?

Replies are listed 'Best First'.
Re: Re: Re: is XML too hard?
by diotalevi (Canon) on Mar 18, 2003 at 11:58 UTC
      OK - I was fooled by the unquoted 'foo' in the first example.
Re: is XML too hard?
by Abigail-II (Bishop) on Mar 18, 2003 at 21:59 UTC
    (REALLYLONGNAME ((with_a_property "aaa")) ("some free form text" (ANOTHERLONGNAME () ("foo")) "t +ext text"))

    Abigail

      OK. This allready has been answered in fact and I withdraw all my pretensions. For my explanation - I was lured by the lack of quoting in your first example.