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 12. XQuery Serialization

Introduction

When working with XQuery, two different serialization issues arise, and in this chapter we contend with both of them.

The first is how to serialize the results of an XQuery as XML. This is difficult because the XQuery Data Model is larger than XML itself; for example, an XQuery can result in two documents, or a list of attributes and numbers, none of which are directly serializable as XML. This is known as XQuery Serialization.

The second issue is how to represent the query itself using XML. Representing query expressions as XML allows them to be manipulated using XQuery itself. This XML syntax is known as XQueryX.

At the time of this writing, neither of these serialization formats has solidified. XQuery ...

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