O'Reilly logo

Definitive XML Schema by Priscilla Walmsley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required