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-value pairs?

Abstraction? It is represented as name-value pair but it could have been a tuple, say a name-value-datatype triple. (Maybe it will be extended one day.) It would still be an attribute. 

On Sat, 15 Jan 2022 at 12:42, Roger L Costello <costello@mitre.org> wrote:

Hi Folks,

 

Someone once told me:

 

               Call it what it is.
               Don’t invent some artificial name.

 

The items in yellow:

 

<Person name="John Doe" employer="Acme Inc." age="30">…</Person>

 

are name-value pairs.

 

Why does XML call them “attributes”?

 

/Roger

--
----
Stephen D Green


[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