Home > Store > Computer Software > Creative Software > Other

Special Edition Using XML Schema

Register your product to gain access to bonus material or receive a coupon.

Special Edition Using XML Schema

Best Value Purchase

Book + eBook Bundle

  • This product currently is not for sale.
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:


    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.

More Purchase Options

Book

  • Your Price: $55.99
  • List Price: $69.99
  • Available on demand.

eBook (Adobe DRM)

  • Your Price: $44.79
  • List Price: $55.99
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:


    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.

Description

  • Copyright 2002
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 496
  • Edition: 1st
  • Book
  • ISBN-10: 0-7897-2607-6
  • ISBN-13: 978-0-7897-2607-0
  • eBook (Adobe DRM)
  • ISBN-10: 0-7686-5633-8
  • ISBN-13: 978-0-7686-5633-6

Special Edition Using XML Schema starts with an explanation of Schema basics: why they were created, the advantages they offer over DTDs, and an overview of the two major parts of the specification: Structure and Datatypes. Next, the author explains the differences between DTDs and Schemas, and demonstrates a simple DTD-to-Schema conversion. The bulk of the book explains the many parts of Schemas, dissecting the structure of a Schema and then introducing Datatypes. Each section includes practical examples, which the author creates and explains, building from the material discussed in the previous section. At the end of the book, the author demonstrates a large, real-world example Schema, showing how all the parts of Schemas interact and how readers would build XML data from the example Schema.

Downloads

Source Code

Source code for the examples developed in the book - 58 kb -- Setup.exe

Sample Content

Online Sample Chapter

Converting a DTD into a Schema

Table of Contents



Introduction.

I. XMLSCHEMA BASICS.

1. An Overview of XML Schema.

The Politics of XML. A Schema Is Not Necessarily an XML Schema. How Schema Relate to Document Type Definitions. The Evolution of XML Schema. Advantages of Schema. Why the Schema Recommendation Has Two Parts. Overview of Part One: Structures. Overview of Part Two: Datatypes. Conclusion. In the Real World.

2. Schema Structure.

Schema Are XML. The <schema> Element. Using Namespaces in Schema. Comparing a DTD and an XML Schema. Conclusion. In the Real World.

3. Converting a DTD into a Schema.

The Legacy of Document Type Definitions. Differences Between DTDs and Schema. A Simple Airline Ticket Itinerary DTD. Converting the DTD to a Schema. The Finished Schema. Resources for Converting DTDs. Conclusions. In the Real World.

II. XMLSCHEMA BASICS.

4. The Components of XML Schema.

Introducing Components. Handling Names with Schema. General Constraints and Validation Rules. Type Definitions. Element Schema Components. Attribute Schema Components. Notations. Particles, Model Groups, and Annotations. Conclusions. In the Real World.

5. Element Declarations.

The Importance of Elements. Defining Elements with Schema. <element> Properties. Constraining Elements with Attributes. Content Models. <simpleType>. <complexType>. Substitution Groups. Conclusion. In the Real World.

6. Attributes.

Attributes Are Fundamental. Attribute Properties. Defining Attributes with Schema. attributeGroup. anyAttribute. Built-in Attributes. Conclusion. In the Real World.

7. Model Groups.

Model Groups and Schema Content. What Is a Model Group? Particles. Defining Model Groups. Wildcards. Notations. Annotations. Conclusions. In the Real World.

8. Example Schema: A Contact Schema.

Building an XML Schema. Outlining the Schema. Building the Schema. Bringing It All Together. Conclusion. In the Real World.

III. XMLSCHEMA DATATYPES.

9. Introducing Datatypes.

What Is a Datatype? How Datatypes Function in Schema Namespaces and Datatypes. Primitive and Derived Datatypes. Built-In and User-Derived Datatypes. Facets. Atomic, List, and Union Datatypes. Conclusion. In the Real World.

10. Primitive Datatypes.

Introducing Primitive Datatypes. string. boolean. Numeric Datatypes. Date and Time Datatypes. Binary Datatypes. anyURI. QName. NOTATION. Conclusion. In the Real World.

11. Derived Datatypes.

Built-In Derived Datatypes. normalizedString. token. language. Backward Compatibility. Name. integer. long. int. short. byte. Conclusion. In the Real World.

12. Representing and Modeling Data.

Working with Data. Deriving Simple Types. Deriving Complex Types. Anonymous Versus Named Types. Scope. Abstract Types. Controlling Derived Types. Uniqueness. Regular Expressions and XML Schema. Conclusion. In the Real World.

13. Example Schema: Customer Invoice.

Outlining the Schema Requirements. Defining the Datatypes. Writing the Schema. Conclusion. In the Real World.

IV. DEVELOPING A PURCHASE ORDER SCHEMA.

14. Building Multipart Schema

Advantages of Multipart Schema. Combining Multiple Schema into a Single Schema. Type Libraries. Working with Namespaces. An Example: The Invoice Schema Revisited. Conclusions. In the Real World.

15. An Example Schema: Human Resources.

Outlining the Project. The Scenario. A Sample Instance Document. Establishing Relationships. Summarizing Components. Establishing the Datatypes. Planning the Multiple Schema. Conclusions. In the Real World.

16. Building and Using the Schema.

Getting Started. The Modular Approach. Bringing It All Together. Using the Schema. Conclusions. In the Real World.

17. XML Schema Best Practices.

Schema Best Practices. Multipart Schema. Elements and Datatypes. Scope Issues. Namespaces. Best Practices Resources. Conclusions. In the Real World.

18. Schema Alternatives and Future Directions.

TREX. RELAX. Schematron. OASIS and Schema. RELAX NG. The Semantic Web. Conclusion. In the Real World.

V. APPENDIXES.

Appendix A. Schema Resources.

XML and XML Schema Resources. W3C Official Web Sites. XML Resources. XML Schema Resources. Schema Debates and Alternatives.

Appendix B. Schema Alternatives: TREX.

Introducing TREX. Structure of a TREX Pattern. Elements in TREX. Attributes in TREX. Datatypes in TREX. Modularity and Reuse. Features Not Included in TREX. A TREX Example. Conclusion.

Appendix C. Schema Alternatives: RELAX.

Introducing RELAX. The RELAX Core. A RELAX Document. Elements in RELAX. Attributes in RELAX. Advanced Roles. Datatypes in RELAX. Other RELAX Features. Missing Features. A Sample RELAX Document. Conclusion.

Appendix D. Schema Alternatives: Schematron.

Introduction to Schematron. XSLT and XPath. Schematron Basics. Integrating Schematron with XML Schema. A Schematron Example. Conclusion.

Index.

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership