[Previous]

What's a document?

 [Next]

 

A document is data that you can read.

  • Documents are a superset of data (e.g., recursion)
  • Documents are harder than data

The basic problem with documents is that we need to display them in many different forms. This is the problem that SGML was originally designed to solve. XML inherits the solution to that problem.

Example: This presentation.

  • Written in XML
  • HTML generated using a stylesheet for online publishing
  • RTF generated using a different stylesheet
[Previous]

[Sun logo]

 [Next]