XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Why does XML call them "attributes" and not name-valuepairs?

> 
> So the color of one's hair is more of an attribute, but the hair itself, or any organ, such as heart, liver or lung, is an "element"
> 
> Any objections to this?
> 


I'm afraid so. Philosophers have devoted their lives to these questions, and even in the more mundane world of data modelling, many books have been written.

Since you've chosen the human body as your subject area, consider disease. Is a disease a thing, or an attribute of a thing? Is there an absolute answer to this question, or is it an engineering choice in how we model it?

Perhaps every attribute is a relationship of one thing to another. Hence RDF triples.

Michael Kay
Saxonica


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS