Description
Book SynopsisThere's a lot to know about XML, and it s constantly evolving. But you don't need to commit every 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 here.
Table of ContentsPreface; 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 Attributes XML Names References CDATA Sections Comments Processing Instructions The XML Declaration Checking Documents for Well-Formedness; 3. Document Type Definitions (DTDs) Validation 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 Unicode ISO Character Sets Platform-Dependent Character Sets Converting Between Character Sets The Default Character Set for XML Documents Character References xml:lang II. Narrative-like Documents; 6. XML as a Document Format SGML's Legacy Narrative Document Structures TEI DocBook OpenOffice WordprocessingML Document Permanence Transformation and Presentation; 7. XML on the Web XHTML 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 Modes Attribute Value Templates XSLT and Namespaces Other XSLT Elements; 9. XPath The Tree Structure of an XML Document Location Paths Compound Location Paths Predicates Unabbreviated Location Paths General XPath Expressions XPath Functions; 10. XLinks Simple Links Link Behavior Link Semantics Extended Links Linkbases DTDs for XLinks; 11. XPointers XPointers on URLs XPointers in Links Shorthand Pointers Child Sequences Namespaces Points Ranges; 12. XInclude The include Element Including Text Files Content Negotiation Fallbacks XPointers; 13. Cascading Style Sheets (CSS) The Levels of CSS CSS Syntax Associating Stylesheets with XML Documents Selectors The Display Property Pixels, Points, Picas, and Other Units of Length Font Properties Text Properties Colors; 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 Natures Purposes 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 Overview Schema Basics Working with Namespaces Complex Types Empty Elements Simple Content Mixed Content Allowing Any Content Controlling Type Derivation; 18. Programming Models Common XML Pro