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:
rvanegas at hunter period cuny period edu