6

Authoring XML Schema

Now that you have been introduced to the type system of XML Schema in Chapter 5, we continue our tour de force in this chapter. The first section discusses the overall structure of schemata written with XML Schema and how namespaces are handled. The next two sections cover reuse mechanisms and schema composition. (Schema composition is a must if we want to define multi-namespace schemata.) The final section, “Usage Patterns,” discusses some best practices for authoring XML schemata with XML Schema.

6.1 NAMESPACES

XML Schema provides full support for XML namespaces (see Section 4.1), so much so that the whole concept of schemata is based ...

Get Modeling Business Objects with XML Schema now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.