Special Edition Using XML Schema
32%
off

Special Edition Using XML Schema

By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 3 business days
When will my order arrive?

Description

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.
show more

Product details

  • Paperback | 496 pages
  • 187 x 231 x 25mm | 841g
  • Que Corporation,U.S.
  • Indianapolis, IN, United States
  • English
  • Special edition
  • Special
  • 0789726076
  • 9780789726070

Back cover copy

"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.
show more

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 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. Properties. Constraining Elements with Attributes. Content Models. . . 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.
show more

About David Gulbransen

David Gulbransen has been employed as an information systems professional for more than eight years. He began his career with the Indiana University Departmental Support Lab as an analyst/manager, overseeing a consulting group responsible for advising university departments on technology deployment. After an appointment as the computing support specialist for the School of Fine Arts, David left for a position as the manager of information systems at Dimension X, a Java tools development company. While there, he grew the information systems environment from a small Unix-based shop to a shared Unix/NT environment serving customers as diverse as Fox Television, MCA Records, Intel, and Sun Microsystems. Upon the purchase of Dimension X in 1997 by Microsoft, David co-founded Vervet Logic, a software development company developing XML and Web tools for new media development. Some of his other titles include Creating Web Applets with Java, The Netscape Server Survival Guide, Special Edition Using Dynamic HTML, and The Complete Idiot's Guide to XML. David holds a B.A. in computer science and theatre from Indiana University.
show more