An Introduction to XML

Creating Self-Describing Data

XML is a language designed to keep data neat and organized. It's very good at storing data, then parsing that data for the information wrapped in its containers. It also mixes very well with CSS and either a DTD or schema for creating Web pages defined entirely to the Web programmer's liking, with certain limitations.

XML's syntax is similar to that of HTML and XHTML — all three share the same tree-like hierarchy of the DOM model. Therefore, knowing HTML very well is a must for understanding XML. Further, a good understanding of CSS is also crucial, since we'll be applying CSS to define the presentation of some XML syntax.

A text editor, xmllint (a UNIX-based CLI XML tool for Cygwin, Mac's Terminal, and Linux) and a browser are all you will need to work with XML.

There will be two or three quizzes—left to my discretion—and one project, due one week after the last class.

We'll cover the following:

  • What exactly is XML?
  • Markup and core concepts
  • Quality control with DTDs
  • CSS with XML
  • Sundays
  • 3 June – 8 July
  • 2:00 PM — 4:00 PM, with a break at the halfway point
  • Hunter College
    695 Park Avenue, Room 1025 E
    New York, NY 10065

Learning XML, Second Edition

Erik T Ray
[An image of Erik Ray's Learning XML.]
ISBN: 978-0-596-00420-0
Activating Browser Modes with Doctype
Chapter 1. Introduction
pages 1 — 48
Chapter 2. Markup and Core Concepts
pages 49 — 77
Chapter 3. Modeling Information
pages 78 — 107
Chapter 4. Quality Control with Schemas
pages 108 — 163
due 15 July 2012

Project submission instructions.

W3C® Markup Validation Service
XML, DTD, and Schema Validator at Validome
XML (at the W3C)

rvanegas at hunter period cuny period edu