CONTENTS

Part I: Introducing XML

Chapter 1: What is XML?

Steps Leading up to XML: Data Representation and Markups

The Birth of XML

More Advantages of XML

XML in Practice

Summary

Chapter 2: Well-Formed XML

What Does Well-Formed Mean?

Creating XML in a Text Editor

Advanced XML Parsing

The XML Infoset

Summary

Chapter 3: XML Namespaces

Defining Namespaces

Why Do You Need Namespaces?

How Do You Choose a Namespace?

How to Declare a Namespace

Namespace Usage in the Real World

When to Use and Not Use Namespaces

Common Namespaces

Summary

Part II: Validation

Chapter 4: Document Type Definitions

What are Document Type Definitions?

Anatomy of a DTD

DTD Limitations

Summary

Chapter 5: XML Schemas

Benefits of XML Schemas

XML Schemas in Practice

Defining XML Schemas

Creating a Schema from Multiple Documents

Documenting XML Schemas

XML Schema 1.1

Summary

Chapter 6: Relax NG and Schematron

Why Do You Need More Ways of Validating XML?

Setting Up Your Environment

Using RELAX NG

Using Schematron

Summary

Part III: Processing

Chapter 7: Extracting Data From XML

Document Models: Representing XML in Memory

The XPath Language

Summary

Chapter 8: XSLT

What XSLT Is Used For

Setting Up Your XSLT Development Environment

Foundational XSLT Elements

Reusing Code in XSLT

Understanding Built-In Templates and Built-In Rules

Using XSLT 2.0

XSLT and XPath 3.0: What’s Coming Next?

Summary

Part IV: Databases

Chapter 9: XQUERY

XQuery, XPath, and XSLT

XQuery in Practice

Building Blocks of XQuery

The Anatomy of a Query Expression ...

Get Beginning XML, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.