O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

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 5. Defining XML Document Structures with XML Schemas

by David Gulbransen

In this chapter

XML Schemas Are a Type of Schema

XML Schemas Compared to DTDs

Element Declarations in XML Schemas

Content Models

<simpleType>

<complexType>

Substitution Groups

Attribute Declarations in XML Schemas

attributeGroup

Enumerations

Associating Schemas with XML Documents

Datatypes in XML Schemas

Primitive Built-In Datatypes

string

boolean

decimal

date

hexBinary

base64Binary

Deriving Simple Types

Deriving Complex Types

Schema Designs

Schema Alternatives

Additional Resources

Roadmap

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