Appendix

This appendix contains the fully formed DTD for our CyberCinema example, annotated with comments. As discussed in Chapter 5, this DTD splits our movie review documents up into a HEAD section and a BODY section. The HEAD section contains all the record-like data (such as the title, the date of publication, and the author information), and the BODY contains the actual text of the review. The text stylings (such as <I> for italics) have been borrowed from XHTML for simplicity. Such stylings are also convenient if you happen to be transforming to a delivery format of XHTML, or an XHTML variant, because you don't have to transform those tags that are already XTML tags.

Also note at the front of this DTD the use of XML entities to define ...

Get XML and SQL: Developing Web Applications now with the O’Reilly learning platform.

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