XQuery from the Experts: A Guide to the W3C XML Query Language
暫譯: 專家教你 XQuery:W3C XML 查詢語言指南
Howard Katz, Don Chamberlin, Denise Draper, Mary Fernandez, Michael Kay, Jonathan Robie, Michael Rys, Jerome Simeon, Jim Tivy, Philip Wadler
- 出版商: Addison Wesley
- 出版日期: 2003-09-01
- 售價: $2,200
- 貴賓價: 9.5 折 $2,090
- 語言: 英文
- 頁數: 484
- 裝訂: Paperback
- ISBN: 0321180607
- ISBN-13: 9780321180605
-
相關分類:
XML
已絕版
買這商品的人也買了...
-
$680$537 -
$600$570 -
$550$468 -
$370$333 -
$880$695 -
$860$568 -
$1,060$1,007 -
$750$735 -
$590$466 -
$820$804 -
$620$490 -
$560$476 -
$720$612 -
$399CCNP Self-Study : Building Scalable Cisco Internetworks (BSCI), 2/e
-
$2,280$2,166 -
$3,050$2,898 -
$490$382 -
$690$587 -
$620$490 -
$550$435 -
$760$646 -
$480$408 -
$480$408 -
$600$199 -
$780$663
相關主題
商品描述
Summary
"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 AGXQuery 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 Mary Fernández, Jérôme Siméon, 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 Mary Fernández, Jérôme Siméon, 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.
Table of Contents
Preface.
Contributors.
Acknowledgments.
I. BASICS.
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.
FLWOR Expressions.
Quantifiers.
Conditional Expressions.
Operators.
Arithmetic Operators.
Comparison Operators.
Sequence Operators.
Built-in Functions.
User-Defined Functions.
Variable Definitions.
Library Modules.
External Functions and Variables.
Types in XQuery.
Introduction to XQuery Types.
Schemas and Types.
Sequence Types.
Working with Types.
Summary.II. BACKGROUND.
2. Influences on the Design of XQuery.
The Need for an XML Query Language.
Basic Principles.
The Query Data Model.
Related Languages and Standards.
XML and Namespaces.
XML Schema.
XPath.
Other Query Languages.
Watershed Issues.
Issue 1: Handling of Untyped Data.
Issue 2: Unknown and Inapplicable Data.
Issue 3: What Is a Type?
Issue 4: Element Constructors.
Issue 5: Static Typing.
Issue 6: Function Resolution.
Issue 7: Error Handling.
Issue 8: Ordering Operators.
Conclusion.3. XQuery, XPath, and XSLT.
XSLT: A Quick Introduction.
XPath 1.0.
Why Was a New Query Language Needed?
Differing Requirements.
Differing Cultures.
Convergence: XPath 2.0.
XSLT and XQuery Compared.
XML-Based Syntax.
Semantics of Element Construction.
Functions and Named Templates.
FLWOR Expressions.
Template Rules.
Axes.
Type Strictness.
Optimization Techniques.
Where Does the Time Go?
Internal Coding Efficiency.
Pipelining and Lazy Evaluation.
Expression Rewriting.
Using Type Information.
Conclusion.III. FORMAL UNDERPINNINGS.
4. Static Typing in XQuery.
The Benefits of Static Typing.
An XQuery Programming Scenario.
Debugging.
Validation.
Static Typing.
Getting Started with Types.
XML Schema and XQuery Types.
Values.
Sequence Types.
Schema Import.
Relating Values and Types.
Literals and Operators.
Variables.
Functions.
Conditionals.
Path Expressions.
Predicates.
FLWOR Expressions.
Element Construction.
Validation Context.
Validation Mode.
A Final Example: Grouping.
Conclusions.5. Introduction to the Formal Semantics.
The Benefits of a Formal Semantics.
Getting Started with the Formal Semantics.
Dynamic Semantics.
Environments.
Matching Values and Types.
Errors.
Static Semantics.
Type Soundness.
Evaluation Order.
Normalization.
Finishing Getting Started.
Learning More about XQuery.
Values and Types.
Matching and Subtyping.
FLWOR Expressions.
Path Expressions.
Implicit Coercions and Function Calls.
Node Identity and Element Constructors.
The Forest through the Trees.IV. DATABASES.
6. Mapping between XML and Relational Data.
Framing the Problem.
Processing Models.
Application Types.
Sources of XML Data.
LOB or Compose?
Composition Techniques: Common Concepts.
Generation of XML Structure through Hierarchical Joins.
Generation of XML Structure through Hierarchical Grouping.
Composition Techniques: Examples.
Default Mapping.
Extended SQL.
Annotated XML Template.
Additional Mapping Languages.
Shredding.
Creation of the Database.
Adding Extra Information to the Composition.
Inlining and Consolidation.
Support of Full XML.
Schema-Independent Representation.
Implementation Concepts.
Emitting XML Documents.
Querying and Updating XML Documents.
Conclusion.7. Integrating XQuery and Relational Database Systems.
Getting Started.
Relational Storage of XML: The XML Type.
Logical Models for the XML Datatype.
Physical Models for the XML Datatype.
Encodings and Collations.
Typing an XML Datatype.
Other Aspects of the XML Datatype.
Integrating XQuery and SQL: Querying XML Datatypes.
XQuery Functionality in SQL.
Augmenting the XQuery Static Context.
Providing Access to SQL Data inside XQuery.
Adding XQuery Function Libraries.
A Note on the XQuery Data Modification Language.
Physical Mappings of XQuery.
Issues of Combining SQL, XML Datatype, and XQuery.
Top-Level XQuery.
XML Document (Fragment) Collections.
XML Views over Relational Data.
Conclusion and Issues.8. A Native XML DBMS.
What Is XML Data?
XML as Text.
XML Data Model.
Interfaces to a Native XML Database.
Interoperability.
Data-Definition Interfaces.
Update Interfaces.
Database Configuration Interfaces.
A Database Command Language.
Collections and Storage.
XQuery Client APIs.
Full-Text Search in a Native XML Database.
Sample Applications.
Invoice Archive.
A Content Management Application.
Conclusion.References.
Glossary.
Index. Preface.
Contributors.
Acknowledgments.
I. BASICS.
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.
FLWOR Expressions.
Quantifiers.
Conditional Expressions.
Operators.
Arithmetic Operators.
Comparison Operators.
Sequence Operators.
Built-in Functions.
User-Defined Functions.
Variable Definitions.
Library Modules.
External Functions and Variables.
Types in XQuery.
Introduction to XQuery Types.
Schemas and Types.
Sequence Types.
Working with Types.
Summary.II. BACKGROUND.
2. Influences on the Design of XQuery.
The Need for an XML Query Language.
Basic Principles.
The Query Data Model.
Related Languages and Standards.
XML and Namespaces.
XML Schema.
XPath.
Other Query Languages.
Watershed Issues.
Issue 1: Handling of Untyped Data.
Issue 2: Unknown and Inapplicable Data.
Issue 3: What Is a Type?
Issue 4: Element Constructors.
Issue 5: Static Typing.
Issue 6: Function Resolution.
Issue 7: Error Handling.
Issue 8: Ordering Operators.
Conclusion.3. XQuery, XPath, and XSLT.
XSLT: A Quick Introduction.
XPath 1.0.
Why Was a New Query Language Needed?
Differing Requirements.
Differing Cultures.
Convergence: XPath 2.0.
XSLT and XQuery Compared.
XML-Based Syntax.
Semantics of Element Construction.
Functions and Named Templates.
FLWOR Expressions.
Template Rules.
Axes.
Type Strictness.
Optimization Techniques.
Where Does the Time Go?
Internal Coding Efficiency.
Pipelining and Lazy Evaluation.
Expression Rewriting.
Using Type Information.
Conclusion.III. FORMAL UNDERPINNINGS.
4. Static Typing in XQuery.
The Benefits of Static Typing.
An XQuery Programming Scenario.
Debugging.
Validation.
Static Typing.
Getting Started with Types.
XML Schema and XQuery Types.
Values.
Sequence Types.
Schema Import.
Relating Values and Types.
Literals and Operators.
Variables.
Functions.
Conditionals.
Path Expressions.
Predicates.
FLWOR Expressions.
Element Construction.
Validation Context.
Validation Mode.
A Final Example: Grouping.
Conclusions.5. Introduction to the Formal Semantics.
The Benefits of a Formal Semantics.
Getting Started with the Formal Semantics.
Dynamic Semantics.
Environments.
Matching Values and Types.
Errors.
Static Semantics.
Type Soundness.
Evaluation Order.
Normalization.
Finishing Getting Started.
Learning More about XQuery.
Values and Types.
Matching and Subtyping.
FLWOR Expressions.
Path Expressions.
Implicit Coercions and Function Calls.
Node Identity and Element Constructors.
The Forest through the Trees.IV. DATABASES.
6. Mapping between XML and Relational Data.
Framing the Problem.
Processing Models.
Application Types.
Sources of XML Data.
LOB or Compose?
Composition Techniques: Common Concepts.
Generation of XML Structure through Hierarchical Joins.
Generation of XML Structure through Hierarchical Grouping.
Composition Techniques: Examples.
Default Mapping.
Extended SQL.
Annotated XML Template.
Additional Mapping Languages.
Shredding.
Creation of the Database.
Adding Extra Information to the Composition.
Inlining and Consolidation.
Support of Full XML.
Schema-Independent Representation.
Implementation Concepts.
Emitting XML Documents.
Querying and Updating XML Documents.
Conclusion.7. Integrating XQuery and Relational Database Systems.
Getting Started.
Relational Storage of XML: The XML Type.
Logical Models for the XML Datatype.
Physical Models for the XML Datatype.
Encodings and Collations.
Typing an XML Datatype.
Other Aspects of the XML Datatype.
Integrating XQuery and SQL: Querying XML Datatypes.
XQuery Functionality in SQL.
Augmenting the XQuery Static Context.
Providing Access to SQL Data inside XQuery.
Adding XQuery Function Libraries.
A Note on the XQuery Data Modification Language.
Physical Mappings of XQuery.
Issues of Combining SQL, XML Datatype, and XQuery.
Top-Level XQuery.
XML Document (Fragment) Collections.
XML Views over Relational Data.
Conclusion and Issues.8. A Native XML DBMS.
What Is XML Data?
XML as Text.
XML Data Model.
Interfaces to a Native XML Database.
Interoperability.
Data-Definition Interfaces.
Update Interfaces.
Database Configuration Interfaces.
A Database Command Language.
Collections and Storage.
XQuery Client APIs.
Full-Text Search in a Native XML Database.
Sample Applications.
Invoice Archive.
A Content Management Application.
Conclusion.References.
Glossary.
Index.
商品描述(中文翻譯)
摘要
《XQuery from the Experts》中對於XQuery語言背後概念的個別觀點,將對於那些希望理解XQuery在設計基於XML的未來資訊系統時所帶來的影響、機會和挑戰的人們具有極大的價值。
—Michael Champion,Software AG的顧問研究與開發專家
XQuery滿足了對功能性XML搜尋和轉換標準日益增長的需求。在萬維網聯盟(W3C)的全力支持下,XQuery在全球IT社群中受到極大的歡迎。作為第一個充分利用XML Schema所提供的強類型優勢的主要XML語言,XQuery具有操作XML和非XML數據的多樣性,並在XML世界與關聯數據庫之間提供了寶貴的連結。
在《XQuery from the Experts》中,W3C的XML查詢工作組的選定成員聚集在一起,討論XQuery的各個方面。從Jonathan Robie的介紹性文章《XQuery: A Guided Tour》到Mary Mary Fernández、Jérôme Siméon和Philip Wadler的《Introduction to the Formal Semantics》,XQuery以一種新手程式設計師和行業專家都能欣賞的方式展現出來。
本書由長期的XML專家和程式設計師Howard Katz編輯,內容涵蓋從嚴格技術章節到比較性文章,例如Michael Kay的《XQuery, XPath, and XSLT》,探討這三種語言的共同祖先,以及Don Chamberlin的《Influences on the Design of XQuery》,詳細說明XQuery設計背後的過程。
主要內容包括:
- Denise Draper的《Mapping Between XML and Relational Data》
- Michael Rys探討《Integrating XQuery and Relational Database Systems》
- Jim Tivy的《A Native XML DBMS》分析
- Mary Mary Fernández、Jérôme Siméon和Philip Wadler呈現的《Static Typing in XQuery》
- 以教學和參考框架呈現的信息,供任何級別的XML專業人士使用
對於IT經理、專業人士、程式設計師或任何與XML相關的人士,《XQuery from the Experts》都是一個無價的資源。
目錄
前言
貢獻者
致謝
I. 基礎
1. XQuery: A Guided Tour
範例數據:參考書目
數據模型
字面量和註解
輸入函數
定位節點:路徑表達式
創建節點:元素、屬性和文檔構造器
結合和重構節點
FLWOR表達式
量詞
條件表達式
運算符
算術運算符
比較運算符
序列運算符
內建函數
用戶定義函數
變數定義
庫模組
外部函數和變數
XQuery中的類型
XQuery類型介紹
模式和類型
序列類型
處理類型
總結
II. 背景
2. XQuery設計的影響
XML查詢語言的需求
基本原則
查詢數據模型
相關語言和標準
XML和命名空間
XML Schema
XPath
其他查詢語言
關鍵問題
問題1:無類型數據的處理
問題2:未知和不適用的數據
問題3:什麼是類型?
問題4:元素構造器
問題5:靜態類型
問題6:函數解析
問題7:錯誤處理
問題8:排序運算符
結論
3. XQuery、XPath和XSLT
XSLT:快速介紹
XPath 1.0
為什麼需要新的查詢語言?
不同的需求
不同的文化
趨同:XPath 2.0
XSLT和XQuery的比較
基於XML的語法
元素構造的語義
函數和命名模板
FLWOR表達式
模板規則
軸
類型嚴格性
優化技術
時間去哪裡了?
內部編碼效率
管道化和延遲評估
表達式重寫
使用類型信息
結論
III. 正式基礎
4. XQuery中的靜態類型
靜態類型的好處
XQuery編程場景
除錯
驗證
靜態類型
開始使用類型
XML Schema和XQuery類型
值
序列類型
模式導入
值和類型的關係
字面量和運算符
變數
函數
條件
路徑表達式
謂詞
FLWOR表達式
元素構造
驗證上下文
驗證模式
最後一個例子:分組
結論
5. 正式語義介紹
正式語義的好處
開始使用正式語義
動態語義
環境
匹配值和類型
錯誤
靜態語義
類型安全
評估順序
標準化
完成開始
深入了解XQuery
值和類型
匹配和子類型
FLWOR表達式
路徑表達式
隱式強制和函數調用
節點身份和元素構造器
透過樹林看森林
IV. 數據庫
6. XML和關聯數據之間的映射