XML Schema
The W3C's Object-Oriented Descriptions for XML
Publisher: O'Reilly Media
Final Release Date: June 2002
Pages: 400

If you need to create or use formal descriptions of XML vocabularies, the W3C's XML Schema offers a powerful set of tools for defining acceptable document structures and content. An alternative to DTDs as the way to describe and validate data in an XML environment, XML Schema enables developers to create precise descriptions with a richer set of datatypes?such as booleans, numbers, currencies, dates and times?that are essential for today?s applications.

Schemas are powerful, but that power comes with substantial complexity. This concise book explains the ins and outs of XML Schema, including design choices, best practices, and limitations. Particularly valuable are discussions of how the type structures fit with existing database and object-oriented program contexts. With XML Schema, you can define acceptable content models and annotate those models with additional type information, making them more readily bound to programs and objects. Schemas combine the easy interchange of text-based XML with the more stringent requirements of data exchange, and make it easier to validate documents based on namespaces.

You?ll find plenty of examples in this book that demonstrate the details necessary for precise vocabulary definitions. Topics include:

  • Foundations of XML Schema syntax
  • Flat, "russian-doll", and other schema approaches
  • Working with simple and complex types in a variety of contexts
  • The built-in datatypes provided by XML Schema
  • Using facets to extend datatypes, including regular expression-based patterns
  • Using keys and uniqueness rules to limit how and where information may appear
  • Creating extensible schemas and managing extensibility
  • Documenting schemas and extending XML Schema capabilities through annotations

In addition to the explanatory content, XML Schemaprovides a complete reference to all parts of both the XML Schema Structures and XML Schema Datatypes specifications, as well as a glossary. Appendices explore the relationships between XML Schema and other tools for describing document structures, including DTDs, RELAX NG, and Schematron, as well as work in progress at the W3C to more tightly integrate XML Schema with existing specifications.

No matter how you intend to use XML Schema - for data structures or document structures, for standalone documents or part of SOAP transactions, for documentation, validation, or data binding ? all the foundations you need are outlined in XML Schema.

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyXML Schema
 
4.0

(based on 7 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

Reviewed by 7 customers

Sort by

Displaying reviews 1-7

Back to top

(1 of 2 customers found this review helpful)

 
2.0

Tough to read

By TimC

from Dearborn, MI

About Me Developer

Pros

    Cons

    • Difficult to understand
    • Too many errors

    Best Uses

    • Expert

    Comments about oreilly XML Schema:

    While I'm not an expert on XML schema, I've been developing reasonably complex schema for a little while now. Still, I found this book largely unusable due to confusing, incomplete examples and clumsy explanations. I found myself reading and rereading the same section on ID and Key application, I'm pretty sure there are typos and / or errors because it just didn't make sense. Perhaps this book is usable as a reference, but not as an educational tool.

     
    5.0

    A great book picking the key details out of the complex W3C Standard

    By Simon Sprott

    from Undisclosed

    Comments about oreilly XML Schema:

    A great book for learning and reference when working with XML Schemas (XSD). The book distils the complex 400 page W3C standard down making the subject easy to understand.

    An invaluable tool when working on the Liquid XML Studio XML Schema Editor (http://www.liquid-technologies.com/XmlStudio/Free-Xsd-Editor.aspx) .

    (1 of 1 customers found this review helpful)

     
    5.0

    Best learning book I've used.

    By Anonymous

    from Undisclosed

    Comments about oreilly XML Schema:

    As an experienced developer, I had a need to get into schemas deep and fast. I bought a series of books on schemas, and never managed to get more than simple schemas working.

    With this book, it all changed. This book teaches you the complicated subject of schemas. It covers regular expressions with examples. It describes pitfalls you *will* run into, and your options how to deal with them. You'll find out why schemas can be so cranky and frustrating sometimes.

    It's not a tutorial. There are some simple tutorial books you might try before this one, if you want to get used to writing the syntax and such. But those books won't stand up, when you really start controlling XML with schemas.

    The book is complicated to read. The sentences are long and sometimes twisted. I've found they're often necessarily so. The author is careful with his words, and schemas aren't that easy.

    Two caveats: The book sometimes tells you about snags in subtle ways that you might not notice, 'til you actually slam headlong into them. And there's the occasional issue in the errata, typical for a new book on so complicated a subject.

    But to me, that's minor. The book covers a tough subject in detail, and it gives me information that helps me solve problems. That makes it the first book I reach for when I have problems with a schema.

    (3 of 4 customers found this review helpful)

     
    3.0

    XML Schema Review

    By a. venet

    from Undisclosed

    Comments about oreilly XML Schema:

    Very good for references, poor for beginners. If you already have a working knowledge of XML schemas and want to go deeper, then this book is for you. Else try something with more problem solving examples.

    (2 of 2 customers found this review helpful)

     
    4.0

    XML Schema Review

    By Jiezhen Yi

    from Undisclosed

    Comments about oreilly XML Schema:

    a very good book for beginners

     
    4.0

    XML Schema Review

    By K Vainstein

    from Undisclosed

    Comments about oreilly XML Schema:

    Exhaustive, covers design and best-practices issues as well as syntax.

    Explanation could be quite a bit more lucid in places, though; state diagrams/Venn diagrams could go a good way to supplement text.

    Book also heavily uses code examples in a sort of show-don't-tell way, and it is in this context that the code examples errata really really trip you up. I've never had to check out Errata on O'Reilly online catalog just to understand the text, before.

     
    5.0

    XML Schema Review

    By Ming Yu

    from Undisclosed

    Comments about oreilly XML Schema:

    This is definitely the book to learn XML Schema. XML Schema Syntax can be confusing at first, even to some experienced programmers. The author uses clear and concise language to explain everything about the subject. The same example is used throughout the book to give consistency and relevancy. Very good explanation of pattern restriction.

    Displaying reviews 1-7

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $31.99
    Formats:  DAISY, ePub, Mobi, PDF
    Print & Ebook: $43.95
    Print: $39.95