買這商品的人也買了...
-
$931Data Mining: Practical Machine Learning Tools and Techniques with Java Implement
-
$980$774 -
$580$452 -
$970Introduction to Algorithms, 2/e
-
$1,068Data Mining: Concepts, Models, Methods, and Algorithms
-
$755Engineering Electromagnetics, 6/e
-
$590$466 -
$690$538 -
$990$782 -
$750$638 -
$560$476 -
$720$569 -
$550$435 -
$390$304 -
$650$514 -
$850$723 -
$980$399 -
$480$379 -
$750$593 -
$780$616 -
$580$452 -
$1,029Mechanical Engineering Design, 7/e (美國版ISBN:0072921935)
-
$675LPIC 1 Exam Cram 2: Linux Professional Institute Certification Exams 101 and 102 (Paperback)
-
$650$507 -
$650$514
商品描述
Summary
Sams Teach Yourself XML in 21 Days, written by expert author Steve Holzner, offers hundreds of real-world examples demonstrating the uses of XML and the newest tools developers need to make the most of it. In Week One, he starts from basic syntax, and discusses XML document structure, document types, and the benefits of XML Schema. Week Two covers formatting using either CSS or the Extensible Sytlesheet Language, and working with XHTML and other tools for presenting XML data on the Web, or in multimedia applications. The final chapter of week two discusses XForms, the newest way to process forms in XML applications. Week Three applies XML to programming with Java, .NET or JavaScript, and building XML into database or Web Service applications with SOAP. Along the way, Steve shows readers the results of every lesson and provides both the "how" and "why" of the inner working of XML technologies.
Table of Contents
Introduction.
I. AT A GLANCE.
Day 1. Welcome to XML.
All About Markup Languages. All About XML. Looking at XML in a Browser. Working with XML Data Yourself. Structuring Your Data. Creating Well-Formed XML Documents. Creating Valid XML Documents. How XML Is Used in the Real World. Online XML Resources. Summary. Q&A. Workshop.Day 2. Creating XML Documents.
Choosing an XML Editor. Using XML Browsers. Using XML Validators. Creating XML Documents Piece by Piece. Creating Prologs. Creating an XML Declaration. Creating XML Comments. Creating Processing Instructions. Creating Tags and Elements. Creating CDATA Sections. Handling Entities. Summary. Q&A. Workshop. Quiz.Day 3. Creating Well-Formed XML Documents.
What Makes an XML Document Well-Formed? Creating an Example XML Document. Understanding the Well-Formedness Constraints. Using XML Namespaces. Understanding XML Infosets. Understanding Canonical XML. Summary. Q&A. Workshop. Quiz.Day 4. Creating Valid XML Documents: DTDs.
All About DTDs. Validating a Document by Using a DTD. Creating Element Content Models. Commenting a DTD. Supporting External DTDs. Handling Namespaces in DTDs. Summary. Q&A. Workshop.Day 5. Handling Attributes and Entities in DTDs.
Declaring Attributes in DTDs. Specifying Default Values. Specifying Attribute Types. Handling Entities. Summary. Q&A. Workshop.Day 6. Creating Valid XML Documents: XML Schemas.
Using XML Schema Tools. Creating XML Schemas. Dissecting an XML Schema. The Built-in XML Schema Elements. Creating Elements and Types. Specifying a Number of Elements. Specifying Element Default Values. Creating Attributes. Summary. Q&A. Workshop.Day 7. Creating Types in XML Schemas.
Restricting Simple Types by Using XML Schema Facets. Creating XML Schema Choices. Using Anonymous Type Definitions. Declaring Empty Elements. Declaring Mixed-Content Elements. Grouping Elements Together. Grouping Attributes Together. Declaring all Groups. Handling Namespaces in Schemas. Annotating an XML Schema. Summary. Q&A. Workshop. Quiz. Exercises.Part I. In Review.
Well-Formed Documents. Valid Documents.II. AT A GLANCE.
Formatting XML Documents.Day 8. Formatting XML by Using Cascading Style Sheets.
Our Sample XML Document. Introducing CSS. Connecting CSS Style Sheets and XML Documents. Creating Style Sheet Selectors. Using Inline Styles. Creating Style Rule Specifications in Style Sheets. Summary. Q&A. Workshop.Day 9. Formatting XML by Using XSLT.
Introducing XSLT. Transforming XML by Using XSLT. Writing XSLT Style Sheets. Using <xsl:apply-templates>. Using <xsl:value-of> and <xsl:for-each>. Matching Nodes by Using the match Attribute. Working with the select Attribute and XPath. Using <xsl:copy>. Using <xsl:if>. Using <xsl:choose>. Specifying the Output Document Type. Summary. Q&A. Workshop.Day 10. Working with XSL Formatting Objects.
Introducing XSL-FO. Using XSL-FO. Using XSL Formatting Objects and Properties. Building an XSL-FO Document. Handling Inline Formatting. Formatting Lists. Formatting Tables. Summary. Q&A. Workshop.Part II. IN REVIEW.
Using CSS. Using XSLT. Using XSL-FO.III. AT A GLANCE.
XML at Work.Day 11. Extending HTML with XHTML.
Why XHTML? Writing XHTML Documents. Validating XHTML Documents. The Basic XHTML Elements. Organizing Text. Formatting Text. Selecting Fonts: <font>. Comments: <!--> Q&A. Summary. Workshop.Day 12. Putting XHTML to Work.
Creating Hyperlinks: <a>. Linking to Other Documents: <link>. Handling Images: <img>. Creating Frame Documents: <frameset>. Creating Frames: <frame>. Creating Embedded Style Sheets: <style>. Formatting Tables: <table>. Creating Table Rows: <tr>. Formatting Table Headers: <th>. Formatting Table Data: <td>. Extending XHTML. Summary. Q&A. Workshop.Day 13. Creating Graphics and Multimedia: SVG and SMIL.
Introducing SVG. Creating an SVG Document. Creating Rectangles. Adobe's SVG Viewer. Using CSS Styles. Creating Circles. Creating Ellipses. Creating Lines. Creating Polylines. Creating Polygons. Creating Text. Creating Gradients. Creating Paths. Creating Text Paths. Creating Groups and Transformations. Creating Animation. Creating Links. Creating Scripts. Embedding SVG in HTML. Introducing SMIL. Summary. Q&A. Workshop.Day 14. Handling XLinks, XPointers, and XForms.
Introducing XLinks. Beyond Simple XLinks. Introducing XPointers. Introducing XBase. Introducing XForms. Creating Input Controls. Summary. Workshop.Part III. In Review.IV. AT A GLANCE.
Programming and XML.Day 15. Using JavaScript and XML.
Introducing the W3C DOM. Introducing the DOM Objects. Working with the XML DOM in JavaScript. Searching for Elements by Name. Reading Attribute Values. Getting All XML Data from a Document. Validating XML Documents by Using DTDs. Summary. Q&A. Workshop.16. Using Java and .NET: DOM.
Using Java to Read XML Data. Finding Elements by Name. Creating an XML Browser by Using Java. Navigating Through XML Documents. Writing XML by Using Java. Summary. Q&A. Workshop.Day 17. Using Java and .NET: SAX.
An Overview of SAX. Using SAX. Using SAX to Find Elements by Name. Creating an XML Browser by Using Java and SAX. Navigating Through XML Documents by Using SAX. Writing XML by Using Java and SAX. Summary. Q&A. Workshop.Day 18. Working with SOAP and RDF.
Introducing SOAP. A SOAP Example in .NET. A SOAP Example in Java. Introducing RDF. Summary. Q&A. Workshop.Part IV. In Review.V. AT A GLANCE.
Data Handling and XML.Day 19. Handling XML Data Binding.
Introducing DSOs. Binding HTML Elements to HTML Data. Binding HTML Elements to XML Data. Binding HTML Tables to XML Data. Accessing Individual Data Fields. Binding HTML Elements to XML Data by Using the XML DSO. Binding HTML Tables to XML Data by Using the XML DSO. Searching XML Data by Using a DSO and JavaScript. Handling Hierarchical XML Data. Summary. Q&A. Workshop.Day 20. Working with XML and Databases.
XML, Databases, and ASP. Storing Databases as XML. Using XPath with a Database. Introducing XQuery. Summary. Q&A. Workshop.Day 21. Handling XML in .NET.
Creating and Editing an XML Document in .NET. From XML to Databases and Back. Reading and Writing XML in .NET Code. Using XML Controls to Display Formatted XML. Creating XML Web Services. Summary. Q&A. Workshop.Part V. In Review.Appendix A: Quiz Answers.Index.
商品描述(中文翻譯)
**摘要**
《Sams Teach Yourself XML in 21 Days》由專家作者 Steve Holzner 撰寫,提供數百個實際範例,展示 XML 的用途以及開發人員需要的最新工具,以充分利用 XML。在第一週,他從基本語法開始,討論 XML 文件結構、文檔類型以及 XML Schema 的好處。第二週涵蓋使用 CSS 或可擴展樣式表語言(Extensible Stylesheet Language)進行格式化,以及使用 XHTML 和其他工具在網頁或多媒體應用中呈現 XML 數據。第二週的最後一章討論 XForms,這是處理 XML 應用中表單的最新方法。第三週將 XML 應用於 Java、.NET 或 JavaScript 的編程,並將 XML 構建到使用 SOAP 的數據庫或網絡服務應用中。在此過程中,Steve 向讀者展示每一課的結果,並提供 XML 技術內部運作的「如何」和「為什麼」。
**目錄**
引言。
I. 概覽。
第1天。歡迎來到 XML。
- 標記語言概述。XML 概述。在瀏覽器中查看 XML。自己處理 XML 數據。結構化數據。創建格式正確的 XML 文件。創建有效的 XML 文件。XML 在現實世界中的應用。線上 XML 資源。總結。問答。工作坊。
第2天。創建 XML 文件。
- 選擇 XML 編輯器。使用 XML 瀏覽器。使用 XML 驗證器。逐步創建 XML 文件。創建前言。創建 XML 聲明。創建 XML 註釋。創建處理指令。創建標籤和元素。創建 CDATA 區段。處理實體。總結。問答。工作坊。測驗。
第3天。創建格式正確的 XML 文件。
- 什麼使 XML 文件格式正確?創建示例 XML 文件。理解格式正確性約束。使用 XML 命名空間。理解 XML 資訊集。理解標準 XML。總結。問答。工作坊。測驗。
第4天。創建有效的 XML 文件:DTD。
- DTD 概述。使用 DTD 驗證文檔。創建元素內容模型。對 DTD 進行註解。支持外部 DTD。處理 DTD 中的命名空間。總結。問答。工作坊。
第5天。在 DTD 中處理屬性和實體。
- 在 DTD 中聲明屬性。指定默認值。指定屬性類型。處理實體。總結。問答。工作坊。
第6天。創建有效的 XML 文件:XML Schema。
- 使用 XML Schema 工具。創建 XML Schema。剖析 XML Schema。內建 XML Schema 元素。創建元素和類型。指定元素數量。指定元素默認值。創建屬性。總結。問答。工作坊。
第7天。在 XML Schema 中創建類型。
- 使用 XML Schema 特徵限制簡單類型。創建 XML Schema 選擇。使用匿名類型定義。聲明空元素。聲明混合內容元素。將元素分組。將屬性分組。聲明所有組。處理 Schema 中的命名空間。註解 XML Schema。總結。問答。工作坊。測驗。練習。
第一部分。回顧。
- 格式正確的文件。有效的文件。
II. 概覽。
- 格式化 XML 文件。
第8天。使用層疊樣式表格式化 XML。
- 我們的示例 XML 文件。介紹 CSS。連接 CSS 樣式表和 XML 文件。創建樣式表選擇器。使用內聯樣式。在樣式表中創建樣式規則規範。總結。問答。工作坊。
第9天。使用 XSLT 格式化 XML。
- 介紹 XSLT。使用 XSLT 轉換 XML。編寫 XSLT 樣式表。使用 。使用 和 。使用 match 屬性匹配節點。使用 select 屬性和 XPath。使用 。使用 。使用 。指定輸出文檔類型。總結。問答。工作坊。
第10天。使用 XSL 格式化對象。
- 介紹 XSL-FO。使用 XSL-FO。使用 XSL 格式化對象和屬性。構建 XSL-FO 文檔。處理內聯格式。格式化列表。格式化表格。總結。問答。工作坊。
第二部分。回顧。
- 使用 CSS。使用 XSLT。使用 XSL-FO。
III. 概覽。
- XML 的應用。
第11天。使用 XHTML 擴展 HTML。
- 為什麼選擇 XHTML?編寫 XHTML 文件。驗證 XHTML 文件。基本的 XHTML 元素。組織文本。格式化文本。選擇字體:。註釋: 問答。總結。工作坊。
第12天。將 XHTML 應用於實際。
- 創建超鏈接:。鏈接到其他文檔:。處理圖像:。創建框架文檔:。創建框架:。創建嵌入式樣式表:。格式化表格:<table>。創建表格行:<tr>。格式化表格標題:<th>。格式化表格數據:<td>。擴展 XHTML。總結。問答。工作坊。
第13天。創建圖形和多媒體:SVG 和 SMIL。
- 介紹 SVG。創建 SVG 文檔。創建矩形。Adobe 的 SVG 查看器。使用 CSS 樣式。創建圓形。創建橢圓形。創建線條。創建多邊形線。創建多邊形。創建文本。創建漸變。創建路徑。創建文本路徑。創建組和變換。創建動畫。創建鏈接。創建腳本。將 SVG 嵌入 HTML。介紹 SMIL。總結。問答。工作坊。
第14天。處理 XLinks、XPointers 和 XForms。
- 介紹 XLinks。超越簡單的 XLinks。介紹 XPointers。介紹 XBase。介紹 XForms。創建輸入控件。總結。工作坊。
第三部分。回顧。
IV. 概覽。
- 編程與 XML。
第15天。使用 JavaScript 和 XML。
- 介紹 W3C DOM。介紹 DOM 對象。在 JavaScript 中使用 XML DOM。按名稱搜索元素。讀取屬性值。從文檔中獲取所有 XML 數據。使用 DTD 驗證 XML 文件。總結。問答。工作坊。
第16天。使用 Java 和 .NET:DOM。
- 使用 Java 讀取 XML 數據。按名稱查找元素。使用 Java 創建 XML 瀏覽器。瀏覽 XML 文件。使用 Java 編寫 XML。總結。問答。工作坊。
第17天。使用 Java 和 .NET:SAX。
- SAX 概述。使用 SAX。使用 SAX 按名稱查找元素。使用 Java 和 SAX 創建 XML 瀏覽器。使用 SAX 瀏覽 XML 文件。使用 Java 和 SAX 編寫 XML。總結。問答。工作坊。
第18天。使用 SOAP 和 RDF。
- 介紹 SOAP。在 .NET 中的 SOAP 範例。在 Java 中的 SOAP 範例。介紹 RDF。總結。問答。工作坊。
第四部分。回顧。
V. 概覽。
- 數據處理與 XML。
第19天。處理 XML 數據綁定。
- 介紹 DSO。將 HTML 元素綁定到 HTML 數據。將 HTML 元素綁定到 XML 數據。將 HTML 表格綁定到 XML 數據。訪問單個數據字段。使用 XML DSO 將 HTML 元素綁定到 XML 數據。使用 XML DSO 將 HTML 表格綁定到 XML 數據。使用 DSO 和 JavaScript 搜索 XML 數據。處理層次 XML 數據。總結。問答。工作坊。
第20天。使用 XML 和數據庫。
- XML、數據庫和 ASP。將數據庫存儲為 XML。使用 XPath 與數據庫。介紹 XQuery。總結。問答。工作坊。
第21天。在 .NET 中處理 XML。
- 在 .NET 中創建和編輯 XML 文檔。從 XML 到數據庫再回來。在 .NET 代碼中讀取和寫入 XML。使用 XML 控件顯示格式化的 XML。創建 XML 網絡服務。總結。問答。工作坊。
第五部分。回顧。
附錄 A:測驗答案。
索引。