Beginning XML Databases

Gavin Powell

  • 出版商: Wrox Press
  • 出版日期: 2006-11-13
  • 售價: $1,580
  • 貴賓價: 9.5$1,501
  • 語言: 英文
  • 頁數: 470
  • 裝訂: Paperback
  • ISBN: 0471791202
  • ISBN-13: 9780471791201
  • 相關分類: XML資料庫
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Description

  • Supported by all major database systems, XML provides an easy, standardized method of transferring data between databases and to and from the Web, independent of the software in use
  • Offers database programmers and data-driven Web developers detailed guidance on how to understand and work with XML as data
  • Numerous hands-on, step-by-step examples help readers learn to simplify database work using XML
  • Shows how to use XML to exchange data between multiple databases either internally or with external customers and partners
  • Covers XML in popular databases including Oracle Database, SQL Server, and brief coverage of DB2 Database
  • Covers basic syntax for XML, the XML DOM, and XSL – with an emphasis on database use, and native XML databases
  • Additional topics covered include Native XML databases, XPath, XQuery, XLink, XPointer, DTDs, XML Schemas, among others

Table of Contents

Introduction.

Chapter 1: What Is XML?

Comparing HTML and XML.

What Is XML Capable Of?

What Is XSL?

Creating and Displaying a Simple XML Document.

Embedding XML in HTML Pages (Data Islands).

Introducing the XML Document Object Model.

XML Browsers and Different Internet Browsers.

The Document Type Definition.

XML Syntax.

Elements.

Attributes.

Reserved Characters in XML.

Ignoring the XML Parser with CDATA.

What Are XML Namespaces?

XML in Many Languages.

Summary.

Exercises.

Chapter 2: The XML Document Object Model.

Basic XML DOM Structure.

The Primary XML DOM Classes.

The Node Class.

The Document Class.

The Element Class.

The Attr Class.

The Text Class.

More Obscure XML DOM Classes.

The parseError Class.

HTTPRequest Class.

Other Classes.

Generating XML Using ASP.

Summary.

Exercises.

Chapter 3: Extending the Power of XML with XSL.

What Is XSL?

The Roots of XSL.

Basic XSL Elements Syntax.

Processing Instruction Elements.

Transformation Elements.

Node Creation Elements.

Data Retrieval Elements.

Control Structure Elements.

Advanced XSL Syntax.

Function Versus Method.

XSL Function Syntax.

XSL Method Syntax.

XSL Pattern Matching Syntax.

Combining the XML DOM and XSL.

Summary.

Exercises.

Chapter 4: Relational Database Tables and XML.

Using SQL for Database Access.

Queries.

Changing Data in a Database.

Generating XML Pages Using Basic SQL.

Summary.

Exercises.

Chapter 5: Oracle Database and XML.

The Oracle XMLType Data Type.

Oracle XMLType Data Type Methods.

Implementing XML in an Oracle Database.

Creating XML Documents from an Oracle Database.

XML and the Database.

New XML Documents.

Retrieving from XML Documents.

Using XMLType Methods to Read XML Documents.

Changing and Removing XML Document Content.

Summary.

Exercises.

Chapter 6: SQL Server and XML.

The SQL Server XML Data Type.

SQL Server XML Data Type Methods.

Generating XML: The FOR XML Clause.

FOR XML RAW Mode.

FOR XML AUTO Mode.

FOR XML EXPLICIT Mode.

FOR XML PATH Mode.

Generating Tuples from XML: OPENXML.

Working with XML Data Types.

Adding XML Documents to SQL Server.

Retrieving and Modifying XML Data Types.

Defining XML Content with XSD Schemas.

Strongly Typing XML Documents with XSD.

Mapping an XSD Schema to a Table.

Annotating the XSD Script to Enforce Relationships.

Storing XSD as a Schema Collection.

Creating Indexes on XML Data Types.

Summary.

Exercises.

Chapter 7: XML in Heterogeneous Environments.

Basic XML Document Transfer.

Sharing XML with Web Services.

The HTTP Protocol.

Transformation Processing.

Web Services Protocol.

Applying Semantics to XML Transfers.

Simple Object Access Protocol.

External Data and XML.

B2B Data Transfer.

Summary.

Exercises.

Chapter 8: Understanding XML Documents as Objects.

Why Explain the Object Model Here?

XML Data as a Relational Structure.

The Basics of the Object Data Model.

Creating an Object Model from a Relational Model.

XML Data as an Object Structure.

Summary.

Exercises.

Chapter 9: What Is a Native XML Database?

An XML Document Is a Database.

Defining a Native XML Database.

Creating a Native XML Database.

Schema-Less Native XML Database Collections.

What Is Indexing?

What About Using XSL and the XML DOM?

Classify Native XML Databases by Content.

Document-Centric XML.

Data-Centric XML.

Using a Native XML Database.

Summary.

Exercises.

Chapter 10: Navigating XML Documents Using XPath.

What Is XPath?

Absolute and Relative Paths.

XPath Nodes.

XPath Node Relationships.

XPath Expression Syntax.

Simple Expressions to Find Nodes.

Find Specific Values Using Predicates.

Use Wildcards to Find Unknown Nodes.

Expressions on Multiple Paths.

XPath Axes.

XPath Functions.

Accessor Functions.

Errors and Tracing.

Constructor Functions.

Numeric Functions.

String Functions.

URI Functions.

Boolean Functions.

Functions on Durations, Dates, and Times.

QName Functions.

Node Functions.

Sequence Functions.

Context Functions.

Summary.

Exercises.

Chapter 11: Reading XML Documents Using XQuery.

What Is XQuery?

Shared Components.

The Basics of XQuery.

Executing XQuery Queries.

Embedding XQuery Code into HTML.

XQuery Terminology.

XQuery Syntax.

Functions in XQuery.

XQuery FLWOR.

FLWOR: The Basic for Loop and Return Clause.

FLWOR: Adding a where Clause.

FLWOR: Adding an Order By Clause.

FLWOR: Declaring Variables with the Let Clause.

FLWOR: Embedded for Loops and Communication.

XQuery in Oracle XML DB.

What Is XQueryX?

Summary.

Exercises.

Chapter 12: Some Advanced XML Standards.

XLink and XPointer.

What Is XLink?

Simple XLinks.

Extended XLinks.

What Is XPointer?

XForms and HTML Form Generation.

The XForms Model.

XForms Namespaces.

Other XForms Input Types.

Data Types in XForms.

Restricting Values with XForms Properties.

XForms Object Actions.

Built-in and User-Defined Functions.

Binding Data Using XPath.

Embedding XML Documents with XInclude.

Formatting XML Output Using XML-FO.

Summary.

Exercises.

Chapter 13: Data Modeling and XML.

The Document Type Definition.

DTD Elements.

DTD Attributes.

DTD Entities.

The XML Schema Definition.

Global and Local Types.

Basic XSD Structures.

Substitution.

Summary.

Exercises.

Chapter 14: Applying XML Databases in Industry.

What Can XML Do?

Managing Complex Data with XML.

Does Database Size Matter?

Are Schema Changes Easier with XML?

Native XML Databases.

Specific XML Vocabularies.

XML Vocabularies.

Commercial Implementation of XML.

When to Use a Native XML Database.

Summary.

Glossary.

Appendix A: Exercise Answers.

Appendix B: The Sample Database.

Appendix C: Syntax Conventions.

Appendix D: XML Technology.

Appendix E: XML Relational Database Technology.

Index.

商品描述(中文翻譯)

Description

支援所有主要的資料庫系統,XML 提供了一種簡單、標準化的方法,用於在資料庫之間以及與網頁之間傳輸資料,與使用的軟體無關。
提供資料庫程式設計師和資料驅動的網頁開發人員詳細的指導,以了解和處理 XML 作為資料的方式。
大量的實際操作、逐步示範的例子,幫助讀者學習如何使用 XML 簡化資料庫工作。
展示如何使用 XML 在多個資料庫之間內部或與外部客戶和合作夥伴之間交換資料。
涵蓋了包括 Oracle Database、SQL Server 和簡要介紹 DB2 Database 在內的流行資料庫中的 XML。
涵蓋了 XML 的基本語法、XML DOM 和 XSL,並強調資料庫使用和本地 XML 資料庫。
其他涵蓋的主題包括本地 XML 資料庫、XPath、XQuery、XLink、XPointer、DTD、XML Schema 等。

Table of Contents

介紹。
第一章:什麼是 XML?
比較 HTML 和 XML。
XML 能做什麼?
什麼是 XSL?
創建和顯示簡單的 XML 文件。
在 HTML 頁面中嵌入 XML(資料島)。
介紹 XML 文件物件模型。
XML 瀏覽器和不同的網頁瀏覽器。
文件類型定義。
XML 語法。
元素。
屬性。
XML 中的保留字元。
使用 CDATA 忽略 XML 解析器。
什麼是 XML 命名空間?
多語言的 XML。
總結。
練習。

第二章:XML 文件物件模型。
基本的 XML DOM 結構。
主要的 XML DOM 類別。
節點類別。
文件類別。
元素類別。
屬性類別。
文字類別。
更多較不常見的 XML DOM 類別。
解析錯誤類別。
HTTPRequest 類別。
其他類別。
使用 ASP 生成 XML。
總結。
練習。

第三章:擴展 XML 的強大功能與 XSL。
什麼是 XSL?
XSL 的起源。
基本的 XSL 元素語法。
處理...