Chapter 5. Document type definitions (the DTD)

Much of the XML standard is dedicated to the concept of document modelling. A DTD (Document Type Definition) can be used to ensure that documents conform to pre-defined rules. This chapter explains the purpose, scope and syntax of DTDs.

Some readers may have already determined that DTDs will not be relevant to their needs. Some simple applications of XML do not require them. In other cases, DTDs may be considered inadequate, and XML Schemas (see Chapter 14 and Chapter 15) may be a better choice. In either case, this chapter can be safely ignored. Basic principles common to both DTDs and XML Schemas are explained in both chapters. However, the principles outlined in the next chapter are relevant to both, and should be read whichever modelling scheme is preferred.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.62.197