Appendix A. Data Model and Type System Reference

Introduction

This appendix lists features of the XQuery Data Model and type system, sorted alphabetically and cross-referenced for convenience. See Chapter 2 for an introduction to these topics. This appendix also summarizes the sequence type syntax used by XQuery expressions such as function definitions, typeswitch, and cast as. Most of these operators are described in Chapter 9. Section A.5 covers all of the built-in atomic types, including value ranges and lexical forms.

Overview

The XQuery Data Model consists of sequences of items (including the empty sequence). Items are nodes or atomic values. XQuery defines 7 node kinds and 50 atomic types.

XQuery provides two different ways to refer to types: ...

Get XQuery: The XML Query Language 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.