RELAX NG

As developers know, the beauty of XML is that it is extensible, even to the point that you can invent new elements and attributes as you write XML documents. Then, however, you need to define your changes so that applications will be able to make sense of them and this is where XML schema language...

Descripción completa

Detalles Bibliográficos
Autor principal: Van der Vlist, Eric (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Beijing : O'Reilly 2004.
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627451806719
Tabla de Contenidos:
  • Table of Contents; Foreword by James Clark; Foreword by Murata Makoto; Preface; Who Should Read This Book?; Who Shouldn't Read This Book?; Organization of This Book; Conventions Used in This Book; Comments and Questions; Powered by WikiML; Acknowledgments; Part I; Chapter 1: What RELAX NG Offers; Diversity; Keeping Documents Independent of Applications; Validation Has Many Aspects; The Best Way to Validate XML Document Structures; RELAX NG's Diverse Applications; RELAX NG as a Pivot Format; Why Use Other Schema Languages?; Chapter 2: Simple Foundations Are Beautiful; Documents and Infosets
  • Different Types of Schema LanguagesA Simple Example; A Strong Mathematical Background; Patterns, and Only Patterns; Chapter 3: First Schema; Getting Started; First Patterns; The text Pattern; The attribute Pattern; The element Pattern; The optional Pattern; The oneOrMore Pattern; The zeroOrMore Pattern; Complete Schema; Constraining Number of Occurrences; Creating "Russian Doll" Schemas; Chapter 4: Introducing the Compact Syntax; First Compact Patterns; The text Pattern; The attribute Pattern; Element; The optional Pattern; The oneOrMore Pattern; The zeroOrMore Pattern; Full Schema
  • XML or Compact?Chapter 5: Flattening the First Schema; Defining Named Patterns; Referencing Named Patterns; The grammar and start Elements; Assembling the Parts; Problems That Never Arise; Recursive Models; Escaping Named Pattern Identifiers intheCompact Syntax; Chapter 6: More Complex Patterns; The group Pattern; The interleave Pattern; The choice Pattern; Pattern Compositions; Order Variation as a Source of Information; Text and Empty Patterns, Whitespace, andMixed Content; Why Is It Called interleave?; Mixed Content Models with Order; A Restriction Related to interleave
  • A Missing Pattern: Unordered GroupChapter 7: Constraining Text Values; Fixed Values; Co-Occurrence Constraints; Enumerations; Whitespace and RELAX NG Native Datatypes; Using String Datatypes in Attribute Values; When to Use String Datatypes; Using Different Types in Each Value; Exclusions; Lists; Data Versus Text; Chapter 8: Datatype Libraries; W3C XML Schema Type Library; The Datatypes; String datatypes; URIs; Qualified names; Binary string-encoded datatypes; Numeric datatypes; Date and time formats; Examples; Facets; DTD Compatibility Datatypes; Which Library Should Be Used?
  • Native Types Versus W3C XML Schema DatatypesDTD Versus W3C XML Schema Datatypes; Chapter 9: Using Regular Expressions to Specify Simple Datatypes; A Swiss Army Knife; The Simplest Possible Pattern Facets; Quantifying; More Atoms; Special Characters; Wildcard; Character Classes; Classical Perl character classes; Unicode character classes; User-defined character classes; Or-ing and Grouping; Common Patterns; String Datatypes; Unicode blocks; Counting words; URIs; Numeric and Float Types; Leading zeros; Fixed format; Datetimes; Time zones; Chapter 10: Creating Building Blocks
  • Using External References