Buying Options
XML Schema
Print $39.95
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £30.50
Add to Cart
What is this?
Description
The W3C's XML Schema offers a powerful set of tools for defining acceptable XML document structures and content. While schemas are powerful, that power comes with substantial complexity. This book explains XML Schema foundations, a variety of different styles for writing schemas, simple and complex types, datatypes and facets, keys, extensibility, documentation, design choices, best practices, and limitations. Complete with references, a glossary, and examples throughout.
Full Description
Table of Contents
  1. Chapter 1 Schema Uses and Development

    1. What Schemas Do for XML

    2. W3C XML Schema

  2. Chapter 2 Our First Schema

    1. The Instance Document

    2. Our First Schema

    3. First Findings

  3. Chapter 3 Giving Some Depth to Our First Schema

    1. Working From the Structure of the Instance Document

    2. New Lessons

  4. Chapter 4 Using Predefined Simple Datatypes

    1. Lexical and Value Spaces

    2. Whitespace Processing

    3. String Datatypes

    4. Numeric Datatypes

    5. Date and Time Datatypes

    6. List Types

    7. What About anySimpleType?

    8. Back to Our Library

  5. Chapter 5 Creating Simple Datatypes

    1. Derivation By Restriction

    2. Derivation By List

    3. Derivation By Union

    4. Some Oddities of Simple Types

    5. Back to Our Library

  6. Chapter 6 Using Regular Expressions to Specify Simple Datatypes

    1. The Swiss Army Knife

    2. The Simplest Possible Patterns

    3. Quantifying

    4. More Atoms

    5. Common Patterns

    6. Back to Our Library

  7. Chapter 7 Creating Complex Datatypes

    1. Simple Versus Complex Types

    2. Examining the Landscape

    3. Simple Content Models

    4. Complex Content Models

    5. Mixed Content Models

    6. Empty Content Models

    7. Back to Our Library

    8. Derivation or Groups

  8. Chapter 8 Creating Building Blocks

    1. Schema Inclusion

    2. Schema Inclusion with Redefinition

    3. Other Alternatives

    4. Simplifying the Library

  9. Chapter 9 Defining Uniqueness, Keys, and Key References

    1. xs:ID and xs:IDREF

    2. XPath-Based Identity Checks

    3. ID/IDREF Versus xs:key/xs:keyref

    4. Using xs:key and xs:unique As Co-occurrence Constraints

  10. Chapter 10 Controlling Namespaces

    1. Namespaces Present Two Challenges to Schema Languages

    2. Namespace Declarations

    3. To Qualify Or Not to Qualify?

    4. Disruptive Attributes

    5. Namespaces and XPath Expressions

    6. Referencing Other Namespaces

    7. Schemas for XML, XML Base and XLink

    8. Namespace Behavior of Imported Components

    9. Importing Schemas with No Namespaces

    10. Chameleon Design

    11. Allowing Any Elements or Attributes from a Particular Namespace

  11. Chapter 11 Referencing Schemas and Schema Datatypes in XML Documents

    1. Associating Schemas with Instance Documents

    2. Defining Element Types

    3. Defining Nil (Null) Values

    4. Beware the Intrusive Nature of These Features...

  12. Chapter 12 Creating More Building Blocks Using Object-Oriented Features

    1. Substitution Groups

    2. Controlling Derivations

  13. Chapter 13 Creating Extensible Schemas

    1. Extensible Schemas

    2. The Need for Open Schemas

  14. Chapter 14 Documenting Schemas

    1. Style Matters

    2. The W3C XML Schema Annotation Element

    3. Foreign Attributes

    4. XML 1.0 Comments

    5. Which One and What For?

  15. Chapter 15 Elements Reference Guide

  16. Chapter 16 Datatype Reference Guide

  1. Appendix A XML Schema Languages

    1. What Is a XML Schema Language?

    2. Classification of XML Schema Languages

    3. A Short History of XML Schema Languages

    4. Sample Application

    5. XML DTDs

    6. W3C XML Schema

    7. RELAX NG

    8. Schematron

    9. Examplotron

    10. Decisions

  2. Appendix B Work in Progress

    1. W3C Projects

    2. ISO: DSDL

    3. Other

  3. Glossary

  4. Colophon

View Full Table of Contents
Product Details
Title:
XML Schema
By:
Eric van der Vlist
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
June 2002
Pages:
400
Print ISBN:
978-0-596-00252-7
| ISBN 10:
0-596-00252-1
Customer Reviews
About the Author
  1. Eric van der Vlist

    Eric van der Vlist is the resident expert on XML schema languages on XML.com. He is also a member of the ISO DSDL committee, where standardization work on RELAX NG and related specifications is in progress. Eric is also the author of O'Reilly's XML Schema.

    View Eric van der Vlist's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of XML Schema is a Reeves's pheasant. Reeves's pheasants originated in north and central China. They are named after the man who first introduced the species in England to be bred for game. The species is one of the most popular types of pheasant to be held in captivity and can be found all over the world.

Reeves's pheasants are black, white, and bronze in color. Male pheasants have white heads with black stripes across their eyes resembling masks, while females have gold heads with light brown masks. Most remarkable are the birds' tail feathers, which can reach six feet long. These long tail feathers have historically been used in ceremonies.

Hens produce two or more clutches of 8 to 14 eggs per season. The eggs are olive brown or cream color, and hatch after 24 days. They have to be separated from other chicks, especially of different species, soon after birth, as they tend to be quite aggressive. Dominant male Reeves's pheasants are also quite aggressive and need to be separated when held in captivity. Darren Kelly was the production editor, Mary Brady was the copyeditor, and Tatiana Diaz was the proofreader for XML Schema. Mary Anne Weeks Mayo and Claire Cloutier provided quality control. Interior composition was done by Philip Dangler, Matt Hutchinson, and Emily Quill. Judy Hoer wrote the index.

Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Linley Dolby.

  • Book cover of XML Schema