XML is extensible
XML and HTML are both based on SGML. But HTML only tells how the data should look. XML tells you what it means.
Heres some data in HTML:
<p>John Smith
<br>1234 E 99th St
<br>Phoenix AZ 85222
Heres the same data in XML:
<mail-list>
<name>John Smith</name>
<address>1234 E 99th St</address>
<city>Phoenix</city>
<state>AZ</state>
<zipcode>85222</zipcode>
<mail-list/>
|