When An Element Is Valid

This tiny paragraph and four-piece list is central to the concept of validity, and thus central to XML. In prose terms, a document is valid when there's a DTD and the document matches the DTD. A large part of validity amounts to matching element declarations, and this constraint tries to formalize exactly what it means to do so.

Back-link to spec

Copyright © 1998, Tim Bray. All rights reserved.