Re: Future of LISP. Alternative to XML. Web 3.0?



Juan R. wrote:
I propose something like

[#p This is [#b bold]]

for

<p>This is <b>bold</b></p>

I like it!
But a few points need to be addressed.


1. Attributes

Attributes are needed, both for compatibility with existing HTML/XML and
for the reasons expressed in the CanonML document. What do you propose?

[#div :id "one" :class "left red" This is the text.]
[#div @id "one" @class "left red" This is the text.]
[#div [@id one] [@class left red] This is the text.]


2. Whitespace

If <b>a</b> becomes [#b a], what about <b> a</b>?

Is [#a a] [#b b] equivalent to <a>a</a><b>b</b> or to <a>a</a> <b>b</b>?

And so on.


3. Namespaces

Intuitive solution?

[#fo:block Hello, world!]


All in all it looks good! Why don't you write it all down in a
semi-formal way and start an open source project to write an
implementation?

The implementation should translate between this representation and XML
(for compatibility) or better to and from SXML, as SXML is actually a
good internal representation of XML for Lisp programs.


Toby
.



Relevant Pages

  • Re: Save As 2007 with Maintain compatibility checked
    ... So, basically, the file will be in XML format and take advantage of ... the XML tags, etc and be smaller but still won't have the features available ... file without the compatibility checkbox checked. ... Word updates the document to use the full 2007 feature set. ...
    (microsoft.public.word.application.errors)
  • Re: Request regarding new XML format
    ... >> The announcement that Microsoft is moving Office Mac to XML and to ... > Just note that file formats, XML or binary, have absolutely nothing to ... > much to do with compatibility - it's a needed feature all on its own. ...
    (microsoft.public.mac.office.word)
  • Re: Request regarding new XML format
    ... > The announcement that Microsoft is moving Office Mac to XML and to ... > greater compatibility with Office Windows leads me to my long standing ... Just note that file formats, XML or binary, have absolutely nothing to ... much to do with compatibility - it's a needed feature all on its own. ...
    (microsoft.public.mac.office.word)
  • Re: FOR XML AUTO change in 2005?
    ... This makes sense since we are running in 80 compatibility on SQL 2005 at the ... Test FOR XML AUTO; ... The XML was returning the cycle values as dc and r elements instead of ...
    (microsoft.public.sqlserver.xml)