Skip to Content
XQuery: The XML Query Language
book

XQuery: The XML Query Language

by Michael Brundage
February 2004
Intermediate to advanced
544 pages
9h 55m
English
Addison-Wesley Professional
Content preview from XQuery: The XML Query Language

Chapter 4. Functions and Modules

Introduction

In any programming language, functions are one of the most powerful tools available to a developer. XQuery provides both a large built-in function library and the ability to create your own functions. XQuery also allows implementations to interoperate with externally defined functions from other languages.

Every XQuery function has a qualified name, zero or more typed arguments, and a return type. Together, these constitute a function's signature. User-defined functions also have a function body (an XQuery expression that defines the function's behavior).

This chapter finishes laying the foundation of XQuery by describing how to invoke built-in and external functions and how to create and invoke user-defined ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XQuery from the Experts: A Guide to the W3C XML Query Language

XQuery from the Experts: A Guide to the W3C XML Query Language

Howard Katz - Editor, Don Chamberlin, Denise Draper, Mary Fernández, Michael Kay, Jonathan Robie, Michael Rys, Jérôme Siméon, Jim Tivy, Philip Wadler
Querying XML

Querying XML

Jim Melton, Stephen Buxton
XSLT and XPATH: A Guide to XML Transformations

XSLT and XPATH: A Guide to XML Transformations

John Robert Gardner, Zarella L. Rendon

Publisher Resources

ISBN: 0321165810Purchase book