Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: is XML too hard?

by Abigail-II (Bishop)
on Mar 17, 2003 at 23:53 UTC ( #243844=note: print w/ replies, xml ) Need Help??

in reply to is XML too hard?

XML too hard? It's just LISP, isn't it? Except with more typing.


Programmers grokked LISP 50 years ago. If XML is too hard, it says more about the quality of the programmers than of XML.


Comment on Re: is XML too hard?
Download Code
Replies are listed 'Best First'.
Re: Re: is XML too hard?
by parv (Priest) on Mar 17, 2003 at 23:59 UTC
    In that respect, XML documents should/need to be converted to Lisp programs. Then all one would need is Perl/Lisp interface, where Lisp would just give you what you ask Perl for.
Re: Re: is XML too hard?
by zby (Vicar) on Mar 18, 2003 at 08:32 UTC
    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?
        OK - I was fooled by the unquoted 'foo' in the first example.
      (REALLYLONGNAME ((with_a_property "aaa")) ("some free form text" (ANOTHERLONGNAME () ("foo")) "t +ext text"))


        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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243844]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-11-26 20:11 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (707 votes), past polls