XQuery from the Experts
共享用户信息
|
书籍简介
“The individual perspectives on the concepts behind the XQuery language offered by XQuery from the Experts will be of great value to those who are seeking to understand the implications, opportunities, and challenges of XQuery as they design future information systems based on XML.”
—Michael Champion, Advisory Research and Development Specialist, Software AG
XQuery answers the growing need for a functional XML search and transformation standard. Backed by the full weight of the World Wide Web Consortium (W3C), XQuery is being extremely well received by the IT community worldwide. The first major XML language that takes advantage of the benefits of strong typing provided by XML Schema, XQuery has the versatility to manipulate both XML and non-XML data and provides a valuable connection between the world of XML and relational databases.
In XQuery from the Experts, select members of the W3C’s XML Query working group come together to discuss every facet of XQuery. From Jonathan Robie’s introductory “XQuery: A Guided Tour” to Mary Fernandez, Jerome Simeon, and Philip Wadler’s “Introduction to the Formal Semantics,” XQuery is revealed in a way that both novice programmers and industry experts can appreciate.
Edited by long-time XML expert and programmer Howard Katz, coverage ranges from strictly technical chapters to comparative essays such as Michael Kay’s “XQuery, XPath, and XSLT,” which explores the common ancestry of all three languages, and Don Chamberlin’s “Influences on the Design of XQuery,” which details the process behind XQuery’s design.
Key coverage includes:
-
Denise Draper on “Mapping Between XML and Relational Data”
-
Michael Rys exploring “Integrating XQuery and Relational Database Systems”
-
Jim Tivy’s analysis of “A Native XML DBMS”
-
Mary Fernandez, Jerome Simeon, and Philip Wadler, presenting “Static Typing in XQuery”
Information presented in both a tutorial and a reference framework for use by XML professionals of any level
For IT managers, professionals, programmers, or anyone involved with XML, XQuery from the Experts is an invaluable resource.
+ 展开目录Preface
This Book
Who Should Read This Book?
Organization and Roadmap
Software
Cover Photograph
Ongoing
Contributors
Don Chamberlin
Denise Draper
Mary Fernández
Howard Katz
Michael Kay
Jonathan Robie
Michael Rys
Jérôme Siméon
Jim Tivy
Philip Wadler
Acknowledgments
Part I. Basics
Chapter 1. XQuery: A Guided Tour
Sample Data: A Bibliography
Data Model
Literals and Comments
Input Functions
Locating Nodes: Path Expressions
Creating Nodes: Element, Attribute, and Document Constructors
Combining and Restructuring Nodes
Operators
Built-in Functions
User-Defined Functions
Variable Definitions
Library Modules
External Functions and Variables
Types in XQuery
Summary
Part II. Background
Chapter 2. Influences on the Design of XQuery
The Need for an XML Query Language
Basic Principles
The Query Data Model
Related Languages and Standards
Watershed Issues
Conclusion
Chapter 3. XQuery, XPath, and XSLT
XSLT: A Quick Introduction
XPath 1.0
Why Was a New Query Language Needed?
Convergence: XPath 2.0
XSLT and XQuery Compared
Optimization Techniques
Conclusion
Part III. Formal Underpinnings
Chapter 4. Static Typing in XQuery
The Benefits of Static Typing
An XQuery Programming Scenario
Getting Started with Types
Literals and Operators
Variables
Functions
Conditionals
Path Expressions
Predicates
FLWOR Expressions
Element Construction
Validation Context
Validation Mode
A Final Example: Grouping
Conclusions
Chapter 5. Introduction to the Formal Semantics
The Benefits of a Formal Semantics
Getting Started with the Formal Semantics
Learning More about XQuery
The Forest through the Trees
Part IV. Databases
Chapter 6. Mapping between XML and Relational Data
Framing the Problem
LOB or Compose?
Composition Techniques: Common Concepts
Composition Techniques: Examples
Shredding
Implementation Concepts
Conclusion
Chapter 7. Integrating XQuery and Relational Database Systems
Getting Started
Relational Storage of XML: The XML Type
Integrating XQuery and SQL: Querying XML Datatypes
Physical Mappings of XQuery
Top-Level XQuery
Conclusion and Issues
Chapter 8. A Native XML DBMS
What Is XML Data?
Interfaces to a Native XML Database
Full-Text Search in a Native XML Database
Sample Applications
Conclusion
References
Glossary
Tags: XQuery