Querying XML

1st Edition

XQuery, XPath, and SQL/XML in context

Authors: Jim Melton Stephen Buxton
Paperback ISBN: 9781558607118
eBook ISBN: 9780080540160
Imprint: Morgan Kaufmann
Published Date: 6th March 2006
Page Count: 848
Tax/VAT will be calculated at check-out
Compatible Not compatible
VitalSource PC, Mac, iPhone & iPad Amazon Kindle eReader
ePub & PDF Apple & PC desktop. Mobile devices (Apple & Android) Amazon Kindle eReader
Mobi Amazon Kindle eReader Anything else

Institutional Access

Table of Contents

  1. XML
    1.1 Introduction 1.2 Adding Markup to Data
    1.3 XML-Based Markup Languages
    1.4 XML Data
    1.5 Some Other Ways to Represent Data
    1.6 Chapter Summary

  2. Querying
    2.1 Introduction
    2.2 Querying Traditional Data
    2.3 Querying Non-Traditional Data
    2.4 Chapter Summary

  3. Querying XML
    3.1 Introduction
    3.2 Navigating An XML Document
    3.3 What Do You Know About Your Data?
    3.4 Some Ways to Query XML Today
    3.5 Summary

  4. Metadata—An Overview
    4.1 Introduction
    4.2 Structural Metadata
    4.3 Semantic Metadata
    4.4 Catalog Metadata
    4.5 Integration Metadata
    4.6 Chapter Summary

  5. Structural Metadata
    5.1 Introduction
    5.2 DTDs
    5.3 XML Schema
    5.4 Other schema languages for XML
    5.5 Deriving an implied schema from a DTD
    5.6 Chapter Summary

  6. The XML Information Set (Infoset) and Beyond
    6.1 Introduction
    6.2 What is the Infoset?
    6.3 The Infoset Information Items and Their Properties
    6.4 The Infoset vs. The Document
    6.5 The XPath 1.0 Data Model
    6.6 The PSVI (Post-Schema-Validation Infoset)
    6.7 The Document Object Model (DOM) – an API
    6.8 Introducing the XQuery Data Model
    6.9 A Note Regarding Data Model Terminology
    6.10 Summary and further reading

  7. Managing XML: Transforming and Connecting
    7.1 Introduction
    7.2 Transforming, Formatting, and Displaying XML
    7.3 The Relationships B


XML has become the lingua franca for representing business data, for exchanging information between business partners and applications, and for adding structure– and sometimes meaning—to text-based documents. XML offers some special challenges and opportunities in the area of search: querying XML can produce very precise, fine-grained results, if you know how to express and execute those queries.

For software developers and systems architects: this book teaches the most useful approaches to querying XML documents and repositories. This book will also help managers and project leaders grasp how “querying XML” fits into the larger context of querying and XML. Querying XML provides a comprehensive background from fundamental concepts (What is XML?) to data models (the Infoset, PSVI, XQuery Data Model), to APIs (querying XML from SQL or Java) and more.

Key Features

  • Presents the concepts clearly, and demonstrates them with illustrations and examples; offers a thorough mastery of the subject area in a single book.
  • Provides comprehensive coverage of XML query languages, and the concepts needed to understand them completely (such as the XQuery Data Model).
  • Shows how to query XML documents and data using: XPath (the XML Path Language); XQuery, soon to be the new W3C Recommendation for querying XML; XQuery's companion XQueryX; and SQL, featuring the SQL/XML
  • Includes an extensive set of XQuery, XPath, SQL, Java, and other examples, with links to downloadable code and data samples.


Software engineers designing applications that use XML to access documents and data presented in XML form; architects of software systems that use XML, who need to know how search and retrieval issues are to be handled; and others who need to understand the relationships between XML markup and storage and future retrieval of documents based on the semantics of the information they contain.


No. of pages:
© Morgan Kaufmann 2006
Morgan Kaufmann
eBook ISBN:
Paperback ISBN:

About the Authors

Jim Melton Author

Jim Melton is editor of all parts of ISO/IEC 9075 (SQL) and is a representative for database standards at Oracle Corporation. Since 1986, he has been his company's representative to ANSI INCITS Technical Committee H2 for Database and a US representative to ISO/IEC JTC1/SC32/WG3 (Database Languages). In addition, Jim has participated in the W3C's XML Query Working Group since 1998 and is currently co-Chair of that Working Group. He is also Chair of the WG's Full-Text Task Force, co-Chair of the Update Language Task Force, and co-editor of two XQuery-related specifications. He is the author of several SQL books.

Affiliations and Expertise

Oracle Corporation, Sandy, Utah.

Stephen Buxton Author

Stephen Buxton is Director of Product Management at Mark Logic Corporation. Stephen is a member of the W3C XQuery Working Group and a founder/member of the XQuery Full-Text Task Force. Stephen has written a number of papers and articles on XQuery and SQL/XML, and is an editor of several W3C XQuery Full-Text specs. Before joining Mark Logic, Stephen was Director of Product Management for Text and XML at Oracle Corporation.

Affiliations and Expertise

Mark Logic Corporation, San Mateo, California