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?

at·trib·ute
See definitions in:
All
Computing
Grammar
Statistics
noun
/ˈatrəˌbyo͞ot/
  1. 2.
    COMPUTING
    a piece of information which determines the properties of a field or tag in a database or a string of characters in a display.

On Sat, Jan 15, 2022 at 7:42 AM 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



[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