>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 AustraliaMaintainer of : www.xmlinfo.com, www.xmlsoftware.com and www.schema.net