[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?
- From: Michael Kay <mike@saxonica.com>
- To: Dimitre Novatchev <dnovatchev@gmail.com>
- Date: Sat, 15 Jan 2022 18:06:02 +0000
>
> 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]