XSLT: Working with XML and HTML
Khun Yee Fung
- 出版商: Addison Wesley
- 出版日期: 2000-12-20
- 定價: $1,360
- 售價: 8.0 折 $1,088
- 語言: 英文
- 頁數: 441
- 裝訂: Paperback
- ISBN: 0201711036
- ISBN-13: 9780201711035
-
相關分類:
HTML、XML
立即出貨(限量) (庫存=4)
買這商品的人也買了...
-
$1,840$1,748 -
$980$774 -
$970Introduction to Algorithms, 2/e
-
$560$437 -
$590$466 -
$3,140$2,983 -
$590$502 -
$560$504 -
$620$558 -
$480$379 -
$750$593 -
$780$663 -
$620$558 -
$520$442 -
$650$553 -
$650$507 -
$460$363 -
$1,078Operating System Principles, 7/e(IE) (美國版ISBN:0471694665-Operating System Concepts, 7/e) (平裝)
-
$650$553 -
$1,560$1,482 -
$490$382 -
$420$332 -
$880$792 -
$680$537 -
$1,200$1,140
相關主題
商品描述
Description
The first comprehensive XSLT tutorial and reference.
- Covers the final XSLT standard -- not the obsolete draft standards!
- Includes many practical examples, plus a start-to-finish case study.
- Code-packed CD-ROM includes software for hands-on exploration of expressions -- XSLT's most difficult feature.
Khun Yee Fung is a Web developer at ExtendMedia Inc. Fung developed the basic architecture of a Web publishing pipeline that uses XML and XSLT to handle dynamic data, and publish it for HTML-based display.
Table Of Contents
PART I.
The Importance of Extensive XML Documents.
The Difference between XML and HTML.
Presenting XML Documents.
The Role of XSLT.
XSLT in the HTML Publishing Pipeline.
Summary.
Looking Ahead.
2: XML.
The Basic XML Document Structure.
Valid Names in XML.
Elements.
Character Data.
Entities.
Processing Instructions.
Comments.
The Root of an XML Document.
Summary.
Looking Ahead.
3: Introduction to XSLT.
Designing XSLT Documents.
Summary.
Looking Ahead.
PART II
Converting an XML Document to a Tree.
Traversing a Tree.
Document Order.
Distinctness of Nodes in a Tree.
Summary.
Looking Ahead.
5: Paths.
Location Paths.
Combining Steps.
Data Types and Operations.
Names of Nodes.
Examples of XPath Expressions.
Summary.
Looking Ahead.
6: Transformation.
Literal Result Elements.
A Simple Template with an xsl:apply-templates Element.
Nested xsl:apply-templates Elements.
Patterns.
Matching Template.
Template Priority.
Current Node and Current Node List Versus Context Node and Context.
Another Look at XSLT Documents.
Summary.
Looking Ahead.
7: Control.
The for-each Element.
Looping with Named Templates.
Sorting.
Sending Messages to the Console.
Parameters Outside the XSLT Document.
Summary.
Looking Ahead.
8: Constructing the Result Tree.
Including Literal Result Elements.
Constructing Elements.
Inserting Comments.
Inserting Processing Instructions.
The xsl:text Element.
The xsl:value-of Element.
Variables.
Result Tree Fragments.
Whitespace-Only Text Nodes.
Summary.
Looking Ahead.
9: Combining Templates.
The xsl:import Element.
The xsl:apply-imports Element.
Summary.
Looking Ahead.
10: Extensions.
Using Extension Functions.
Using Extension Elements.
Checking Availability.
Summary.
Looking Ahead.
PART III
Character Replacement.
Using xsl:include for Project Reuse.
Using xsl:import for Reuse from Different Projects.
Using the mode Attribute to Organize Templates.
The xsl:include and xsl:import Elements.
Using a Global Parameter to Seed Configuration.
Absolute Paths and Template Patterns.
Steps for Template Patterns.
Using Simple Predicates in Template Patterns.
Using translate()to Convert Cases.
Short Templates.
Identifying Your XML Data.
Using xsl:apply-templates.
One Page at a Time.
Mockup, Generalize, Write.
Working Directory.
Inside-Out XSLT Template Application.
Removing an Element.
Using XML Configuration Files.
Using Lineup Files.
One Subtree at a Time.
Using xsl:copy-of.
Overriding Default Templates.
Avoiding the Descendant Axis.
Reducing the Size of Node-Sets.
Avoiding Multiple Predicates.
Summary.
Looking Ahead.
12: A Case Study.
Designing the XML Files.
Organizing the XSLT Documents.
Designing the XSLT Templates.
Summary.
Looking Ahead.
PART IV
XSL.
SVG.
Transforming an XML Document to Text.
Summary.
Appendix A: Tools and Resources.
Resources.
XSLT Web Sites and Mailing Lists.
Where to Find the Examples.
Appendix B: Character Sets and Encoding Schemes.
Appendix C: XSLT and XPath Reference.
XSLT and XPath Functions.
Suggested Resources.
Index.
商品描述(中文翻譯)
這是第一本全面的XSLT教程和參考書。它涵蓋了最終的XSLT標準,而不是過時的草案標準!書中包含了許多實用的例子,以及一個從頭到尾的案例研究。附帶的CD-ROM包含了用於實際探索XSLT最困難的功能——表達式的軟件。XML正迅速成為結構化網絡信息交換文檔的標準。然而,要在網絡瀏覽器上顯示XML文檔,它們必須被“轉換”——在客戶端轉換為XSL文檔,或在服務器端轉換為HTML文檔。XSLT是W3C最近完成的一種輕量級語言,專門設計用於此目的,但可靠的XSLT文檔非常稀缺。這是第一本實用的、全面的XSLT教程和參考書,基於最終的標準,這些標準與早期的草案有很大不同。首先了解XSLT對文檔的基於樹的視圖,然後掌握XSLT的功能,使您能夠將XML文檔從一種文檔類型轉換為另一種文檔類型,或轉換為HTML文檔或文本文檔。查看與XSLT緊密關聯的規範,包括XML命名空間和XPath,然後通過一系列實用的例子和詳細的案例研究,演示如何創建一個強大的XSLT應用程序。該書包含了對XSLT和XPath元素和函數的詳細參考,以及一個CD-ROM,其中包含所有代碼,以及獨家軟件,讓讀者可以探索XSLT最具挑戰性的功能——表達式。適用於所有網絡開發人員、網站管理員和其他使用XML、XSL或XSLT的人士。Khun Yee Fung是ExtendMedia Inc.的網絡開發人員。Fung開發了一個基於XML和XSLT的Web發布流水線的基本架構,用於處理動態數據並將其發布為基於HTML的顯示。