Re: Content v. attribute

James Tauber (jtauber@jtauber.com)
Tue, 27 Oct 1998 02:14:59 +0800


-----Original Message-----
From: Dave Winer <dave@userland.com>

>I consider it a flaw of XML that it has two ways to do hierarchy

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.

James

--
James Tauber / jtauber@jtauber.com / www.jtauber.com
Associate Researcher, Electronic Commerce Network
Curtin University of Technology, Perth, Western Australia

Maintainer of : www.xmlinfo.com, www.xmlsoftware.com and www.schema.net