8. Delimited Data
John|Smith|2008-12-06|To improve my
public speaking skills. To get
promoted. To take over the world
(or a small portion thereof).|555
Main
St.|Bailey|CO|80909|USA|john.smith
@acme.com|303-555-1212|720-555-
1212|970-555-1212|677476|Simply
Speaking|Aurora|26
20. XML Elements vs. Attributes
It’s an Element When …
First Class Data – <Member>
Hierarchical / Whole-To-Part
Order Matters
Multiple Values
Long Data / Whitespace -
<Reason>
It’s an Attribute When …
Dependent Data / Meta-Data
No further structuring
firstName
lastName