Schema Designs

Now you have the fundamentals of element and attribute declarations in XML Schemas, as well as the basics of datatypes and how they can be used in XML Schemas. There are a number of different design philosophies that can be used when approaching schema authoring. So, now let's take a look at some schema examples that will put the schema authoring skills to use and showcase the various methods for constructing XML Schemas.

Note

There is an excellent discussion of Schema Design Issues, including information regarding these patterns and further discussions of Schema Best Practices, located at http://www.xfront.com/BestPracticesHomepage.html.

Russian Doll Design

The Russian Doll design for schemas involves nesting all the component ...

Get Special Edition Using XML, Second Edition 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.