Chapter 19 Topics for DTD users

This chapter provides a jump-start on XML Schema for readers who are familiar with DTDs. It provides a detailed comparison of DTD syntax with XSDL, which is useful both for understanding XML Schema and for converting existing DTDs to schemas.

19.1 Element declarations

Table 19–1 shows examples of various DTD content models and matches them up with the various XML Schema content types. Each of these content types is explained in the rest of this section.

Table 19–1. Content types

image

19.1.1 Simple types

Element types with (#PCDATA) content and no attributes in a DTD correspond ...

Get Definitive XML Schema now with O’Reilly online learning.

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