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/
- 2.COMPUTINGa 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 <[email protected]> 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