Sams Teach Yourself XML in 21 Days

Sams Teach Yourself XML in 21 Days

By Steven Holzner

Day 7. Creating Types in XML Schemas

Yesterday you got started with XML schemas and heard about some of the basics. Today, you're going to continue with XML schemas, getting a true working knowledge of the subject. Here's an overview of the topics covered today:

As you're going to see today, XML schemas give you many options that DTDs don't. Some of what you're going to see was designed for convenience, such as declaring element and attribute groups so you can use such groups throughout a schema; some of the things we'll talk about, such as empty elements and choices, have analogs in DTDs; and things we'll talk about today, such as anonymous types and facets, give you functionality you don't find in DTDs.

Share ThisShare This

Informit Network