Tags and Elements
- XML Element consists of a start tag and an end tag
<document> ... </document>
- Tag Names
- Start with a letter
<document>, an underscore <_record> or
a colon (avoid using a colon)
- Next characters may be letters, digits, underscore, hyphens,
periods and colons (but no whitespaces)
- XML Processors are case sensitive
Different tags: <document>, <DOCUMENT>,
<Document>
- Empty Elements have only one tag:
HTML : <img>, <li>, <hr>
XHTML : <img/>, <li/>, <hr/>