Appendix C. Function Reference

Introduction

This appendix describes all of the built-in XQuery functions, listed alphabetically for convenient reference. Each function description begins with a one-line summary of the function's purpose followed by its function signature(s). Next comes an explanation of the arguments and their default values (if any), exceptional and error cases, and finally the function's normal behavior with examples. Each function is also cross-referenced to related functions.

The type syntax used in the function signature is the sequence type syntax described in Chapter 2 and Appendix A, with the same meaning. For example, xs:string? means zero or one string values.

All XQuery built-in functions belong to the default function ...

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.