Uses for XML

Text Markup

<b>bold</b> and <i>italic</i> text

Serialized Data
<contacts>
  <contact name="John Doe" phone="555 1212"/>
  <contact name="Jane Doe" phone="555 1313"/>
</contacts>
Program source
<xsl:template select="contact">
  <p>
    <xsl:apply-template select="@name"/>
    <xsl:apply-template select="@phone"/>
  </p>
</xsl:template>