Buying Options
RELAX NG
Print $29.95
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £22.99
Add to Cart
What is this?
Description
RELAX NG is a grammar-based schema language that's both easy to learn for schema creators and easy to implement for software developers In RELAX NG, developers are introduced to this unique language and will learn a no-nonsense method for creating XML schemas. This book offers a clear-cut explanation of RELAX NG that enables intermediate and advanced XML developers to focus on XML document structures and content rather than battle the intricacies of yet another convoluted standard.
Full Description
Table of Contents
  1. Tutorial

    1. Chapter 1 What RELAX NG Offers

      1. Diversity
      2. Keeping Documents Independent of Applications
      3. Validation Has Many Aspects
      4. The Best Way to Validate XML Document Structures
      5. RELAX NG's Diverse Applications
      6. RELAX NG as a Pivot Format
      7. Why Use Other Schema Languages?
    2. Chapter 2 Simple Foundations Are Beautiful

      1. Documents and Infosets
      2. Different Types of Schema Languages
      3. A Simple Example
      4. A Strong Mathematical Background
      5. Patterns, and Only Patterns
    3. Chapter 3 First Schema

      1. Getting Started
      2. First Patterns
      3. Complete Schema
    4. Chapter 4 Introducing the Compact Syntax

      1. First Compact Patterns
      2. Full Schema
      3. XML or Compact?
    5. Chapter 5 Flattening the First Schema

      1. Defining Named Patterns
      2. Referencing Named Patterns
      3. The grammar and start Elements
      4. Assembling the Parts
      5. Problems That Never Arise
      6. Recursive Models
      7. Escaping Named Pattern Identifiers in the Compact Syntax
    6. Chapter 6 More Complex Patterns

      1. The group Pattern
      2. The interleave Pattern
      3. The choice Pattern
      4. Pattern Compositions
      5. Order Variation as a Source of Information
      6. Text and Empty Patterns, Whitespace, and Mixed Content
      7. Why Is It Called interleave?
      8. Mixed Content Models with Order
      9. A Restriction Related to interleave
      10. A Missing Pattern: Unordered Group
    7. Chapter 7 Constraining Text Values

      1. Fixed Values
      2. Co-Occurrence Constraints
      3. Enumerations
      4. Whitespace and RELAX NG Native Datatypes
      5. Using String Datatypes in Attribute Values
      6. When to Use String Datatypes
      7. Using Different Types in Each Value
      8. Exclusions
      9. Lists
      10. Data Versus Text
    8. Chapter 8 Datatype Libraries

      1. W3C XML Schema Type Library
      2. DTD Compatibility Datatypes
      3. Which Library Should Be Used?
    9. Chapter 9 Using Regular Expressions to Specify Simple Datatypes

      1. A Swiss Army Knife
      2. The Simplest Possible Pattern Facets
      3. Quantifying
      4. More Atoms
      5. Common Patterns
    10. Chapter 10 Creating Building Blocks

      1. Using External References
      2. Merging Grammars
      3. A Real-World Example: XHTML 2.0
      4. Other Options
    11. Chapter 11 Namespaces

      1. A Ten-Minute Guide to XML Namespaces
      2. The Two Challenges of Namespaces
      3. Declaring Namespaces in Schemas
      4. Accepting Foreign Namespaces
      5. Namespaces, Building Blocks, and Chameleon Design
    12. Chapter 12 Writing Extensible Schemas

      1. Extensible Schemas
      2. The Case for Open Schemas
      3. Extensible and Open?
    13. Chapter 13 Annotating Schemas

      1. Common Principles for Annotating RELAX NG Schemas
      2. Documentation
      3. Annotation for Applications
    14. Chapter 14 Generating RELAX NG Schemas

      1. Examplotron: Instance Documents as Schemas
      2. Literate Programming
      3. UML
      4. Spreadsheets
    15. Chapter 15 Simplification and Restrictions

      1. Simplification
      2. Restrictions
    16. Chapter 16 Determinism and Datatype Assignment

      1. What Is Ambiguity?
      2. The Downsides of Ambiguous and Nondeterministic Content Models
      3. Some Ideas to Make Disambiguation Easier
  2. Reference

    1. Chapter 17 Element Reference

      1. Elements
    2. Chapter 18 Compact Syntax Reference

      1. EBNF Production Reference
    3. Chapter 19 Datatype Reference

  3. Appendixes

    1. Appendix A DSDL

      1. A Multipart Standard
      2. What DSDL Should Bring You
    2. Appendix B The GNU Free Documentation License

      1. GNU Free Documentation License
      2. 0. Preamble
      3. 1. APPLICABILITY AND DEFINITIONS
      4. 2. VERBATIM COPYING
      5. 3. COPYING IN QUANTITY
      6. 4. MODIFICATIONS
      7. 5. COMBINING DOCUMENTS
      8. 6. COLLECTIONS OF DOCUMENTS
      9. 7. AGGREGATION WITH INDEPENDENT WORKS
      10. 8. TRANSLATION
      11. 9. TERMINATION
      12. 10. FUTURE REVISIONS OF THIS LICENSE
      13. Addendum: How to use this License for your documents
  1. Glossary

  2. Colophon

View Full Table of Contents
Product Details
Title:
RELAX NG
By:
Eric van der Vlist
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
December 2003
Pages:
512
Print ISBN:
978-0-596-00421-7
| ISBN 10:
0-596-00421-4
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 RELAX NG is a blood pheasant (Ithaginis cruentus). Unlike other pheasants, the blood pheasant resembles a partridge in size and shape. Its crest is grey, and the male's forehead, face, and throat are red. A female's upper features are more rust-colored. Both males and females have grey to light brown bodies.

The blood pheasant lives in the coniferous forests of the Himalayas, from Nepal through Tibet into northern Burma to northwest China. It lives in flocks of 4-20 in nonbreeding season, up to 40 in winter. Between late April and early May, the female fills a shallow saucer nest of dry twigs lined with leaves with up to 14 eggs. Chicks are born in mid-June and able to follow mother to feed at two days old.

The blood pheasant picks up food with its bill and seldom digs with its claws, although it sometimes jumps up to shrubs to feed. It's considered a good runner but a poor flier. When threatened, it rushes down hills and hides under stones. Because it lives in such remote regions, however, the blood pheasant population remains stable and unthreatened by man. Mary Anne Weeks Mayo was the production editor, and Nancy Wolfe Kotary was the copyeditor for RELAX NG. Reg Aubry and Colleen Gorman provided quality control. Julie Hawks wrote the index.

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

Melanie Wang designed the interior layout, based on a series design by David Futato. This book was converted by Joe Wizda 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 compiled by Mary Anne Weeks Mayo.

  • Book cover of RELAX NG