XML in a Nutshell, 3/e

Elliotte Rusty Harold, W. Scott Means

  • 出版商: O'Reilly
  • 定價: $1,488
  • 售價: 8.0$1,190
  • 語言: 英文
  • 頁數: 600
  • 裝訂: Paperback
  • ISBN: 0596007647
  • ISBN-13: 9780596007645
  • 相關分類: XML
  • 立即出貨 (庫存 < 3)




If you're a developer working with XML, you know there's a lot to know about XML, and the XML space is evolving almost moment by moment. But you don't need to commit every XML syntax, API, or XSLT transformation to memory; you only need to know where to find it. And if it's a detail that has to do with XML or its companion standards, you'll find it--clear, concise, useful, and well-organized--in the updated third edition of XML in a Nutshell.

With XML in a Nutshell beside your keyboard, you'll be able to:

  • Quick-reference syntax rules and usage examples for the core XML technologies, including XML, DTDs, Xpath, XSLT, SAX, and DOM
  • Develop an understanding of well-formed XML, DTDs, namespaces, Unicode, and W3C XML Schema
  • Gain a working knowledge of key technologies used for narrative XML documents such as web pages, books, and articles technologies like XSLT, Xpath, Xlink, Xpointer, CSS, and XSL-FO
  • Build data-intensive XML applications
  • Understand the tools and APIs necessary to build data-intensive XML applications and process XML documents, including the event-based Simple API for XML (SAX2) and the tree-oriented Document Object Model (DOM)

This powerful new edition is the comprehensive XML reference. Serious users of XML will find coverage on just about everything they need, from fundamental syntax rules, to details of DTD and XML Schema creation, to XSLT transformations, to APIs used for processing XML documents. XML in a Nutshell also covers XML 1.1, as well as updates to SAX2 and DOM Level 3 coverage. If you need explanation of how a technology works, or just need to quickly find the precise syntax for a particular piece, XML in a Nutshell puts the information at your fingertips.

Simply put, XML in a Nutshell is the critical, must-have reference for any XML developer.


Table of Contents:


I. XML Concepts

1. Introducing XML
      The Benefits of XML
      Portable Data
      How XML Works
      The Evolution of XML

2. XML Fundamentals
      XML Documents and XML Files
      Elements, Tags, and Character Data
      XML Names
      CDATA Sections
      Processing Instructions
      The XML Declaration
      Checking Documents for Well-Formedness

3. Document Type Definitions (DTDs)
      Element Declarations
      Attribute Declarations
      General Entity Declarations
      External Parsed General Entities
      External Unparsed Entities and Notations
      Parameter Entities
      Conditional Inclusion
      Two DTD Examples
      Locating Standard DTDs

4. Namespaces
      The Need for Namespaces
      Namespace Syntax
      How Parsers Handle Namespaces
      Namespaces and DTDs

5. Internationalization
      Character-Set Metadata
      The Encoding Declaration
      Text Declarations
      XML-Defined Character Sets
      ISO Character Sets
      Platform-Dependent Character Sets
      Converting Between Character Sets
      The Default Character Set for XML Documents
      Character References

II. Narrative-like Documents

6. XML as a Document Format
      SGML's Legacy
      Narrative Document Structures
      Document Permanence
      Transformation and Presentation

7. XML on the Web
      Direct Display of XML in Browsers
      Authoring Compound Documents with Modular XHTML
      Prospects for Improved Web Search Methods

8. XSL Transformations (XSLT)
      An Example Input Document
      xsl:stylesheet and xsl:transform
      Stylesheet Processors
      Templates and Template Rules
      Calculating the Value of an Element with xsl:value-of
      Applying Templates with xsl:apply-templates
      The Built-in Template Rules
      Attribute Value Templates
      XSLT and Namespaces
      Other XSLT Elements

9. XPath
      The Tree Structure of an XML Document
      Location Paths
      Compound Location Paths
      Unabbreviated Location Paths
      General XPath Expressions
      XPath Functions

10. XLinks
      Simple Links
      Link Behavior
      Link Semantics
      Extended Links
      DTDs for XLinks

11. XPointers
      XPointers on URLs
      XPointers in Links
      Shorthand Pointers
      Child Sequences

12. XInclude
      The include Element
      Including Text Files
      Content Negotiation

13. Cascading Style Sheets (CSS)
      The Levels of CSS
      CSS Syntax
      Associating Stylesheets with XML Documents
      The Display Property
      Pixels, Points, Picas, and Other Units of Length
      Font Properties
      Text Properties

14. XSL Formatting Objects (XSL-FO)
      XSL Formatting Objects
      The Structure of an XSL-FO Document
      Laying Out the Master Pages
      XSL-FO Properties
      Choosing Between CSS and XSL-FO

15. Resource Directory Description Language (RDDL)
      What's at the End of a Namespace URL?
      RDDL Syntax

III. Record-like Documents

16. XML as a Data Format
      Why Use XML for Data?
      Developing Record-Like XML Formats
      Sharing Your XML Format

17. XML Schemas
      Schema Basics
      Working with Namespaces
      Complex Types
      Empty Elements
      Simple Content
      Mixed Content
      Allowing Any Content
      Controlling Type Derivation

18. Programming Models
      Common XML Processing Models
      Common XML Processing Issues
      Generating XML Documents

19. Document Object Model (DOM)
      DOM Foundations
      Structure of the DOM Core
      Node and Other Generic Interfaces
      Specific Node-Type Interfaces
      The DOMImplementation Interface
      DOM Level 3 Interfaces
      Parsing a Document with DOM
      A Simple DOM Application

20. Simple API for XML (SAX)
      The ContentHandler Interface
      Features and Properties

IV. Reference

21. XML Reference
      How to Use This Reference
      Annotated Sample Documents
      XML Syntax
      XML 1.0 Document Grammar
      XML 1.1 Document Grammar

22. Schemas Reference
      The Schema Namespaces
      Schema Elements
      Built-in Types
      Instance Document Attributes

23. XPath Reference
      The XPath Data Model
      Data Types
      Location Paths
      XPath Functions

24. XSLT Reference
      The XSLT Namespace
      XSLT Elements
      XSLT Functions

25. DOM Reference
      Object Hierarchy
      Object Reference

26. SAX Reference
      The org.xml.sax Package
      The org.xml.sax.helpers Package
      SAX Features and Properties
      The org.xml.sax.ext Package

27. Character Sets
      Character Tables
      HTML4 Entity Sets
      Other Unicode Blocks