XSLT 1.0 Pocket Reference
暫譯: XSLT 1.0 口袋參考手冊

Evan Lenz

  • 出版商: O'Reilly
  • 出版日期: 2005-09-20
  • 售價: $650
  • 貴賓價: 9.5$618
  • 語言: 英文
  • 頁數: 178
  • 裝訂: Paperback
  • ISBN: 0596100086
  • ISBN-13: 9780596100087
  • 相關分類: XML
  • 已過版

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

商品描述

Description:

XSLT is an essential tool for converting XML into other kinds of documents: HTML, PDF file, and many others. It's a critical technology for XML-based platforms such as Microsoft .NET, Sun Microsystems' Sun One, as well as for most web browsers and authoring tools. As useful as XSLT is, however, most people have a difficult time getting used to its peculiar characteristics. The ability to use advanced techniques depends on a clear and exact understanding of how XSLT templates work and interact.


The XSLT 1.0 Pocket Reference from O'Reilly wants to make sure you achieve that level of understanding. With its concise approach, this handy pocket guide quickly gets you up to speed on XSLT 1.0 so you can covert XML like a seasoned pro. In addition to covering the basics of stylesheet structure, it also explains how to:

  • use template rules
  • create a result tree
  • apply conditional processing
  • transform multiple source documents
  • employ number formatting

Thanks to their convenient, quick-reference format, O'Reilly's Pocket References spare you from having to hunt through larger books for answers. They deliver just what you need to get the job done in a timely fashion. And the XSLT 1.0 Pocket Reference is no different--it's the ideal companion to have at your desk when you need an answer fast.

 

Table of Contents:

1. Data Model

     Node Types 

     Node Properties 

2. The XPath Language

     Data Types 

     Expression Context 

     Kinds of Expressions 

     Node-Set Expressions 

     Number Expressions 

     String Expressions 

     Boolean Expressions 

3. How XSLT Works

     Stylesheet Structure 

     Processing Model 

     Template Rule Content
     Whitespace Stripping 

     Serializing the Result Tree 

     XSLT Elements by Use Case 

4. Elements

     Top-Level Elements 

     Instructions 

     Special Elements 

     QNames 

     Element Reference 

5. Functions

     XPath Functions 

     XSLT Functions 

     Data Type Conversions 

     Function Reference 

6. Extending XSLT

     Extension Functions 

     Extension Elements 

     EXSLT 

     EXSLT-Common 

     EXSLT-Dates and Times 

     EXSLT-Functions 

     EXSLT-Math 

     EXSLT-Random 

     EXSLT-Sets 

     EXSLT-Dynamic 

     EXSLT-Regular Expressions 

     EXSLT-Strings 

Appendix A.  XPath 1.0 Grammar

Appendix B.  XSLT Pattern Grammar

Index

商品描述(中文翻譯)

**描述:**
XSLT 是將 XML 轉換為其他類型文件(如 HTML、PDF 文件等)的重要工具。它是基於 XML 的平台(如 Microsoft .NET、Sun Microsystems 的 Sun One)以及大多數網頁瀏覽器和編輯工具的關鍵技術。儘管 XSLT 非常有用,但大多數人對其特殊特性難以適應。使用進階技術的能力取決於對 XSLT 模板如何運作和互動的清晰且精確的理解。

《XSLT 1.0 口袋參考》由 O'Reilly 出版,旨在確保您達到這種理解水平。這本簡明的口袋指南能迅速讓您掌握 XSLT 1.0,使您能像專業人士一樣轉換 XML。除了涵蓋樣式表結構的基本知識外,它還解釋了如何:
- 使用模板規則
- 創建結果樹
- 應用條件處理
- 轉換多個源文件
- 使用數字格式化

得益於其方便的快速參考格式,O'Reilly 的口袋參考書讓您不必在更大的書籍中尋找答案。它們提供您完成工作的所需資訊,並且《XSLT 1.0 口袋參考》也不例外——當您需要快速找到答案時,它是您桌上的理想夥伴。

**目錄:**
1. 數據模型
- 節點類型
- 節點屬性

2. XPath 語言
- 數據類型
- 表達式上下文
- 表達式的種類
- 節點集表達式
- 數字表達式
- 字串表達式
- 布林表達式

3. XSLT 的運作方式
- 樣式表結構
- 處理模型
- 模板規則內容
- 空白字符剝離
- 序列化結果樹
- 按使用案例的 XSLT 元素

4. 元素
- 頂層元素
- 指令
- 特殊元素
- QNames
- 元素引用

5. 函數
- XPath 函數
- XSLT 函數
- 數據類型轉換
- 函數參考

6. 擴展 XSLT
- 擴展函數
- 擴展元素
- EXSLT
- EXSLT-Common
- EXSLT-日期和時間
- EXSLT-函數
- EXSLT-數學
- EXSLT-隨機
- EXSLT-集合
- EXSLT-動態
- EXSLT-正則表達式
- EXSLT-字串

附錄 A. XPath 1.0 語法
附錄 B. XSLT 模式語法
索引