[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ::scr semantic



Alex Robinson <scr@xxxxxxxxxxxxxxxxxx> writes:

> >I'd like to know why you think XML is a better representation format for
> >these type of relations, rather than, say, S-expressions.
> 
> But Jo said nothing of the sort. In fact she said
> 
> > rdf != xml
> 
> 
> But I'll give you a reason (just for the hell of it). While people are
> still generating files by hand, it's a hell of a lot easier for
> non-programmers to write
> 
> <point>
>      A text with a
>      <a href="subsection/sec1.html">link</a>
>      to a <b>subsection</b>
> </point>
> 
> than
> 
> (point
>      "A text with a "
>      (a "link" 'href "subsection/sec.html")
>      " to a " (b "subsection"))

Um... Actually, SXML would look like:

(point "A test with a "
       (a (@ (href "subsection/sec.html")) "link")
       " to a " (b "subsection"))

But your point is reasonably well made.

-- 
Piers

   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?