How It Works

XML has four basic components :

  • A document marked up in an XML language

  • An optional Document Type Definition or XML Schema that defines the elements and the rules for their use in that language

  • Style sheets for presentation instructions

  • Parsers that interpret the XML document

Take a closer look at each.

Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.