XML By Example, 2/e

Benoit Marchal

  • 出版商: QUE
  • 出版日期: 2001-09-17
  • 定價: $1,050
  • 售價: 6.0$630
  • 語言: 英文
  • 頁數: 512
  • 裝訂: Paperback
  • ISBN: 0789725045
  • ISBN-13: 9780789725042
  • 相關分類: XML
  • 立即出貨(限量) (庫存=3)

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

商品描述

XML by Example, 2nd edition has been revised and updated to include the newest standards, more robust examples, and better tools for developers to make the most of XML as they learn it. Building off readers knowledge of HTML, JavaScript and web development, this book teaches XML using practical, real-world examples every step of the way. The book starts with a broad overview of the technologies and standards that make up XML. Following chapters teach each of these topics in depth, including new coverage of: more robust tools for parsing and manipulating XML, modeling with XML Schemas, managing extensibility with Namespaces, the latest version of XSL transformations (XSLT), applying style with XSL Formatting Objects and Cascading Style Sheets, object models including SAX 2 and DOM 2, and working with existing XML models: XHTML, WML and RSS. The final chapters design and build an XML-enabled e-Commerce application, putting together the concepts mastered earlier in the book.

Table of Contents

Introduction.

The by Example Series. Who Should Use This Book. This Book's Organization. Conventions Used in This Book.


1. The XML Galaxy.

Introduction. Where This Book Fits. A First Look at XML. A First Look on Document Structure. Markup Language History. Application of XML. Companion Standards. XML Software.


2. XML Syntax.

A First Look at the XML Syntax. Advanced Topics. Frequently Asked Questions About XML. Four Common Errors. Two Applications of XML. XML Editors.


3. XML Namespaces.

The Problem Namespaces Solves. Namespaces. URIs. Scoping. Digital Signature: An Example of Namespaces.


4. XML Models.

DTDs and XML Schemas. The DTD Syntax. Relationship Between the DTD and the Document. Advanced DTD Concepts. The Schema Syntax. Namespaces and Other Advanced Schema Concepts. Modeling XML Documents. Modeling Documents from an Object Model. Modeling from Scratch. A Tool to Help.


5. XSL Transformations.

Why Styling? XSL. Basic XSLT. Supporting Different Markup Languages. When and Where to Use Style Sheets. Advanced XSLT.


6. XSL Formatting Objects and Cascading Style Sheets.

Rendering XML Without HTML. The Basics of CSS and FO. Simple CSS. Simple FO. Flow Objects and Areas. Property Values. Box Properties. Text and Font Properties. Some Advanced Features. When Should You Use Which.


7. The Parser and DOM.

What Is a Parser? The Parser and the Application. Document Object Model. Getting Started with DOM. Managing the State. Common Errors and How to Solve Them. DOM and Java. DOM in Applications.


8. Alternative API: SAX.

Why Another API? SAX: The Power API. Commonly Used SAX Interfaces and Classes. Maintaining the State. Flexibility.


9. Writing XML.

The Parser Mirror. Modifying a Document with DOM. Exploring Netscape Support for DOM. DOM Methods to Create and Modify Documents. Creating a New Document with DOM. Using DOM to Create Documents. Creating Documents Without DOM. Doing Something with the XML Documents. Writing with Flexibility in Mind.


10. Important XML Models.

Structured and Extensible. XLink. XHTML. e-Commerce, XML/EDI, and ebXML. The Right Level of Abstraction. Attributes Versus Elements.


11. N-Tiered Architecture and XML.

What Is an N-Tiered Application? The XCommerce Application. How XML Helps. Programming SOAP. XCommerce Architecture. Server-Side Programming Language.


12. Putting It All Together: An e-Commerce Example.

Building XCommerce. First Tier: The Database. Second Tier: The SOAP Service. Third Tier: The Presentation Servlet. Utility Class: Comparing Strings.


Appendix A. Crash Course on Java.

Java in Perspective. Downloading Java Tools. Your First Java Application. Servlets. Your First Servlet. More Java Language Concepts.


Appendix B. DTD and XML Schema Simple Types.

Simple Types Supported by DTD. Simple Types Supported by XML Schema.


Index.

商品描述(中文翻譯)

《XML by Example, 2nd edition》已經修訂和更新,包括最新的標準、更強大的範例和更好的開發工具,讓開發人員在學習XML時能夠充分利用它。本書以讀者對HTML、JavaScript和網頁開發的知識為基礎,通過實際的、現實世界的例子來教授XML。本書從廣泛的技術和標準概述開始,接下來的章節深入教授每個主題,包括:更強大的解析和操作XML的工具、使用XML Schema進行建模、使用命名空間管理可擴展性、最新版本的XSL轉換(XSLT)、使用XSL Formatting Objects和層疊樣式表應用樣式、包括SAX 2和DOM 2在內的對象模型,以及使用現有的XML模型:XHTML、WML和RSS。最後的章節設計並構建了一個支持XML的電子商務應用程序,將之前學到的概念結合起來。

《目錄》
1. XML宇宙
2. XML語法
3. XML命名空間
4. XML模型
5. XSL轉換
6. XSL Formatting Objects和層疊樣式表
7. 解析器和DOM
8. 替代API:SAX
9. 寫入XML
10. 重要的XML模型
11. N層架構和XML