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.

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


No. of pages:
© 2006
Morgan Kaufmann
Print ISBN:
Electronic ISBN: