XML: Self-Describing Data

The Extensible Markup Language is a flexible language that allows data to be self-describing. It's a subset of the Standard Generalized Markup Language, as is HTML. XML is distinct from SGML in that it's a simple solution for enabling data to be typed and visually represented. SGML is a more general (but complicated) meta-language for marking up documents in a device-independent and system-independent way. XML is also distinct from HTML in that it's extensible and its focus is on the structural representation of data. In contrast, HTML has a limited tag set and focuses on the visual representation of data.

Listing 12-1 shows a sample XML document. It contains information about a set of old arcade-style video games for ...

Get Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.