Sams Teach Yourself XML in 24 Hours, Complete Starter Kit, 3/e
暫譯: Sams 24小時學會XML 完整入門套件 第3版

Michael Morrison

  • 出版商: SAMS
  • 出版日期: 2005-11-24
  • 售價: $1,690
  • 貴賓價: 9.5$1,606
  • 語言: 英文
  • 頁數: 576
  • 裝訂: Paperback
  • ISBN: 067232797X
  • ISBN-13: 9780672327971
  • 相關分類: XML
  • 已絕版

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

相關主題

商品描述

Book Description

The third edition of Sams Teach Yourself XML in 24 Hours, Complete Starter Kit is everything you need to know about the XML language and how to use it in practical, innovative applications. Understanding the syntax of XML is only a small part of the learning process; understanding how to apply it is the larger part of the learning process, and is the primary focus of this book. It covers a broad range of topics, and wil show you how to use XML to mine data on the web, how to use it to interact with existing data services such as iTunes and Google, and how to use it in applications such as e-books, online speech synthesis, and multimedia. Sams Teach Yourself XML in 24 Hours, Complete Starter Kit, Third Edition will teach you what you need to know to get up and running with XML and more importantly, how to do cool things with it!

 

 

Table of Contents

Introduction.

    How This Book Is Structured.

    What You’ll Need.

    How to Use This Book.

 

I: XML ESSENTIALS.

HOUR 1: Getting to Know XML.

    The What and Why of XML.

    XML and Web Browsers.

    Real-World XML.

HOUR 2: Creating XML Documents.

    A Quick XML Primer.

    Selecting an XML Editor.

    Constructing Your First XML Document.

    Viewing Your XML Document.

 

II: DEFINING XML DATA.

HOUR 3: Defining Data with DTD Schemas.

    Creating Your Own Markup Languages.

    Schemas and XML Data Modeling.

    Comparing Schema Technologies.

    The Importance of Document Validation.

    DTD Construction Basics.

    Digging Deeper into Elements.

    Putting Attributes to Work.

    A Complete DTD Example.

HOUR 4: Digging Deeper into XML Documents.

    Leaving a Trail with Comments.

    Characters of Text in XML.

    The Wonderful World of Entities.

    The Significance of Notations.

    Working with CDATA.

    Using XML to Create an Online Radio.

HOUR 5: Putting Namespaces to Use.

    Understanding Namespaces.

    Naming Namespaces.

    Declaring and Using Namespaces.

HOUR 6: Using SVG to Draw Scalable Graphics.

    What Is SVG?

    SVG and Related Technologies.

    Inside the SVG Language.

    Creating an SVG Drawing.

    Embedding an SVG Drawing in a Web Page.

HOUR 7: Using XML Schema.

    XML Schema Construction Basics.

    Working with Simple Types.

    Digging into Complex Types.

    Namespaces and XSD Schemas.

    A Complete XML Schema Example.

    RELAX NG and the Future of XML Schema.

HOUR 8: Validating XML Documents.

    Document Validation Revisited.

    Validation Tools.

    Repairing Invalid Documents.

 

III: FORMATTING AND DISPLAYING XML DOCUMENTS.

HOUR 9: XML Formatting Strategies.

    Style Sheets and XML Formatting.

    Leveraging CSS, XSLT, and XSL-FO.

    Style Sheets in Action.

HOUR 10: Styling XML Content with CSS.

    Getting to Know CSS.

    Wiring a Style Sheet to an XML Document.

    Your First CSS Style Sheet.

    Inside CSS Positioning.

    The Ins and Outs of Text Formatting.

    Your Second Complete Style Sheet.

HOUR 11: Getting Started with XSL.

    XSL Basics.

    The Pieces and Parts of XSL.

    An XSLT Primer.

    Wiring an XSL Style Sheet to an XML Document.

    Your First XSLT Style Sheet.

HOUR 12: Transforming XML with XSLT.

    A Closer Look at XSLT.

    Pattern Essentials.

    Putting Expressions to Work.

    A Complete XSLT Example.

    Yet Another XSLT Example.

HOUR 13: Access Your iTunes Music Library via XML.

    The Role of XML in iTunes.

    Digging Into the iTunes Library File.

    Linking to Tracks in the iTunes Store.

    Building an iTunes Web Viewer.

HOUR 14: Formatting XML with XSL-FO.

    What Is XSL-FO?

    Working with the XSL-FO Language.

    Validating an XSL-FO Document.

    Converting an XSL-FO Document to PDF.

    A More Complete XSL-FO Example.

HOUR 15: Using XML to Hack Google Maps.

    Getting to Know Google Maps.

    Google Maps Customization Basics.

    Brainstorming a Custom Mapping Application.

    Developing a Custom Map Document.

    Hacking Together a Custom Google Map.

 

IV: PROCESSING AND MANAGING XML DATA.

HOUR 16: Parsing XML with the DOM.

    What Is the DOM?

    How the DOM Works.

    DOM Interfaces.

    Binding XML Data to a Web Page.

    Using the DOM to Access XML Data.

    A Complete DOM Example.

    Updating the DOM Tree.

HOUR 17: SAX: The Simple API for XML.

    What Is SAX?

    Writing Programs That Use SAX Parsers.

    Obtaining a SAX Parser.

    Using SAX with Java.

    Inside the SAX Sample Program.

HOUR 18: Querying XML Data with XQuery.

    What Is XQuery?

    XML Data Querying 101.

    Processing XQuery Results.

    Getting to Know Saxon.

    Practical XML Querying with XQuery and Saxon.

HOUR 19: Using XML with Databases.

    A Quick Relational Database Primer.

    The World’s Shortest Guide to SQL.

    Databases and XML.

    Exporting an XML Document from a Database.

    Accessing Data from a Database as XML.

HOUR 20: Using XML to Assist Search Engines.

    Web Crawling Basics.

    Getting to Know Google Sitemaps.

    Inside the Google Sitemap Protocol.

    Creating Your Own Sitemap.

    Validating Your Sitemap.

    Submitting Your Sitemap to Google.

    Using an Automated Sitemap Tool.

 

V: XML’S IMPACT ON HTML.

HOUR 21: Adding Structure to the Web with XHTML.

    XHTML: A Logical Merger.

    Comparing XHTML and HTML.

    Creating and Validating XHTML Documents.

    Migrating HTML to XHTML.

HOUR 22: Addressing and Linking XML Documents.

    Understanding XPath.

    Navigating a Document with XPath Patterns.

    Using XPath Functions.

    The Role of XPath.

    HTML, XML, and Linking.

    Addressing with XPointer.

    Linking with XLink.

    A Complete XLink Example.

HOUR 23: Going Wireless with WML and XHTML Mobile.

    XML and the Wireless Web.

    WML Essentials.

    Creating WML Documents.

    Blending WML with XHTML Mobile.

HOUR 24: Syndicating the Web with RSS News Feeds.

    A Brief History of RSS.

    Using an RSS News Aggregator.

    Inside the RSS 2.0 Language.

    Creating and Validating a News Feed.

    Displaying a News Feed.

 

VI: APPENDIX.

APPENDIX A: XML Resources.

General XML Resources.

XML Tools.

XML-Based Languages.

XML Specifications.

Index.

商品描述(中文翻譯)

書籍描述
第三版的《Sams Teach Yourself XML in 24 Hours, Complete Starter Kit》是您了解XML語言及其在實際創新應用中使用的所有必要知識。理解XML的語法只是學習過程中的一小部分;理解如何應用它才是學習過程的主要部分,也是本書的重點。它涵蓋了廣泛的主題,將向您展示如何使用XML在網路上挖掘數據,如何與現有的數據服務(如iTunes和Google)互動,以及如何在電子書、在線語音合成和多媒體等應用中使用它。《Sams Teach Yourself XML in 24 Hours, Complete Starter Kit, Third Edition》將教您如何快速上手XML,更重要的是,如何用它做出有趣的事情!

目錄
引言
    本書的結構。
    您需要的工具。
    如何使用本書。

I: XML 基礎
第1小時:認識XML。
    XML的什麼和為什麼。
    XML與網頁瀏覽器。
    實際應用中的XML。

第2小時:創建XML文檔。
    快速XML入門。
    選擇XML編輯器。
    構建您的第一個XML文檔。
    查看您的XML文檔。

II: 定義XML數據
第3小時:使用DTD模式定義數據。
    創建您自己的標記語言。
    模式與XML數據建模。
    比較模式技術。
    文檔驗證的重要性。
    DTD構建基礎。
    深入了解元素。
    使用屬性。
    完整的DTD示例。

第4小時:深入了解XML文檔。
    使用註釋留下痕跡。
    XML中的文本字符。
    實體的奇妙世界。
    記號的重要性。
    使用CDATA。
    使用XML創建在線廣播。

第5小時:使用命名空間。
    理解命名空間。
    命名命名空間。
    聲明和使用命名空間。

第6小時:使用SVG繪製可縮放圖形。
    什麼是SVG?
    SVG及相關技術。
    SVG語言內部。
    創建SVG圖形。
    在網頁中嵌入SVG圖形。

第7小時:使用XML Schema。
    XML Schema構建基礎。
    使用簡單類型。
    深入了解複雜類型。
    命名空間與XSD模式。
    完整的XML Schema示例。
    RELAX NG與XML Schema的未來。

第8小時:驗證XML文檔。
    文檔驗證回顧。
    驗證工具。
    修復無效文檔。

III: 格式化和顯示XML文檔
第9小時:XML格式化策略。
    樣式表與XML格式化。
    利用CSS、XSLT和XSL-FO。
    樣式表的實際應用。

第10小時:使用CSS為XML內容設計樣式。
    了解CSS。
    將樣式表連接到XML文檔。
    您的第一個CSS樣式表。
    CSS定位的內部。
    文本格式化的方方面面。
    您的第二個完整樣式表。

第11小時:開始使用XSL。
    XSL基礎。
    XSL的組成部分。
    XSLT入門。
    將XSL樣式表連接到XML文檔。