Corrections to Chapter 20 of The XML Bible, Reading Document Type Definitions

p. 844: The second paragraph of text beginning, "The NOTE element may contain...: accidentally got styled as code. It should be normal text. In other words, it should look like this:

The NOTE element may contain an arbitrary amount of text. Some standard markup would be useful here. The easiest solution is to adopt the XHTML DTD introduced in Chapter 20, Reading Document Type Definitions. It's not necessary to rewrite it all. Simply use a parameter reference entity to import it. We'll allow each NOTE to contain zero or more REFERENCE elements and a single body element.

<!ENTITY % xhtml SYSTEM "xhtml/XHTML1-s.dtd">
%xhtml;
<!ELEMENT  NOTE   (REFERENCE*, body)>  

Word's revision tracking is responsible for this one.


[ Cafe con Leche | Order from amazon.com | The XML Bible Home Page | Table of Contents | Updated Chapters | Examples | Errata from other Chapters ]

Copyright 1999, 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified October 7, 2000