[BNM] XML - Attributes or Elements?

Steve Esson bnmlist@brightonnewmedia.org
Mon Mar 24 14:25:17 2003

A topic we've been thrashing out for a while here. What is everyone's view
on XML attributes...

Do you prefer


or do you prefer...

<car type="Audi" bhp="180" doors="3">TT</car>

or even...

<car type="Audi" make="TT" bhp="180" doors="3" />

Coding wise I think the last is easiest. I'm interested in hearing others
suggestions and arguments for each format.