Re: Content v. attribute

len bullard (cbullard@hiwaay.net)
Mon, 26 Oct 1998 19:53:26 -0600


James Tauber wrote:
>
> Bear in mind that XML was designed primarily for *document* interchange. The
> attribute vs element decision (which is really just a markup vs content
> decision) IMO, is a lot less clear in data-centric applications than it is
> in document-centric ones. XML might have looked quite different if the
> things people are doing nowadays with XML were thought up when SGML was
> being developed.

Interesting. Xerox sold a markup based system that did exactly that.
Elements only; no attributes. It died on the vine. So, regardless of
hindsight, historically, it didn't fly.

The idea that might have made a difference to XML was the notion of
an object with an interface and an implementation. Many of the
things people are doing nowadays with XML were thought up
in the context of programming languages.

Len Bullard