- Semi-structured data (well-structured)
- Document format (well-formed)
- Self-describing
{xml}<book author="C. Darwin">The Origin of Species</book>
- Tag:
{xml}<book>,</book>
- Attribute:
{xml}author="C. Darwin"
- ID:
id
is a special attribute that is unique
- ID:
- Namespace: definition of your schema
- Elements:
The Origin of Species
{xml}<![CDATA[Tags: <book>,…]]>
means character data (escape not required)- Tree Representation
- Use XPath and XQuery to query it