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 9. Type Operators

Introduction

As described in Chapters 1 and 2, every XQuery expression has a static (compile-time) type, even if the value is “untyped” (the type xdt:untypedAtomic). During evaluation, these expressions result in values, and the values have dynamic types (consistent with the static types of the expressions that produced them).

All XQuery implementations perform dynamic type checking, and some perform static type checking. Consequently, there are times when you need to change the type of an expression or value.

This chapter focuses on the many functions and operators XQuery provides for working with types. These operators break down into roughly four categories:

  • Operators that cast values of one atomic type into values of ...

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