Cover image for XML in a nutshell : a desktop quick reference
Title:
XML in a nutshell : a desktop quick reference
Author:
Harold, Elliotte Rusty.
Personal Author:
Edition:
First edition.
Publication Information:
Beijing ; Cambridge [Mass.] : O'Reilly, [2001]

©2001
Physical Description:
xvi, 480 pages : illustrations ; 23 cm
General Note:
Includes index.
Language:
English
Added Author:
ISBN:
9780596000585
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.76.H94 H36 2001 Adult Non-Fiction Central Closed Stacks
Searching...

On Order

Summary

Summary

XML, the Extensible Markup Language, is a W3C endorsed standard for document markup. Because of its ability to deliver portable data, XML is positioned to be a key web application technology.Given the complexity and incredible potential of this powerful markup language, it is clear that every serious developer using XML for data or text formatting and transformation will need a comprehensive, easy-to- access desktop reference in order to take advantage of XML's full potential. XML in a Nutshell will assist developers in formatting files and data structures correctly for use in XML documents.XML defines a basic syntax used to mark up data with simple, human-readable tags, and provides a standard format for computer documents. This format is flexible enough to be customized for transforming data between applications as diverse as web sites, electronic data inter-change, voice mail systems, and wireless devices, to name a few.Developers can either write their own programs that interact with, massage, and manipulate the data in XML documents, or they can use off-the-shelf software like web browsers and text editors to work with XML documents. Either choice gives them access to a wide range of free libraries in a variety of languages that can read and write XML.The XML specification defines the exact syntax this markup must follow: how elements are delimited by tags, what a tag looks like, what names are acceptable for elements, where attributes are placed, and so forth. XML doesn't have a fixed set of tags and elements that are supposed to work for everybody in all areas of interest for all time. It allows developers and writers to define the elements they need as they need them.Although XML is quite flexible in the elements it allows to be defined, it is quite strict in many other respects. XML in a Nutshell covers the fundamental rules that all XML documents and authors must adhere to, detailing the grammar that specifies where tags may be placed, what they must look like, which element names are legal, how attributes attach to elements, and much more.


Table of Contents

Prefacep. xi
Part I XML Concepts
Chapter 1 Introducing XMLp. 3
What XML Offersp. 3
Portable Datap. 6
How XML Worksp. 6
The Evolution of XMLp. 8
Chapter 2 XML Fundamentalsp. 11
XML Documents and XML Filesp. 11
Elements, Tags, and Character Datap. 12
Attributesp. 15
XML Namesp. 17
Entity Referencesp. 18
CDATA Sectionsp. 19
Commentsp. 20
Processing Instructionsp. 20
The XML Declarationp. 21
Checking Documents for Well-Formednessp. 23
Chapter 3 Document Type Definitionsp. 26
Validationp. 26
Element Declarationsp. 34
Attribute Declarationsp. 39
General Entity Declarationsp. 46
External Parsed General Entitiesp. 48
External Unparsed Entities and Notationsp. 49
Parameter Entitiesp. 51
Conditional Inclusionp. 53
Two DTD Examplesp. 54
Locating Standard DTDsp. 56
Chapter 4 Namespacesp. 58
The Need for Namespacesp. 58
Namespace Syntaxp. 61
How Parsers Handle Namespacesp. 66
Namespaces and DTDsp. 67
Chapter 5 Internationalizationp. 69
The Encoding Declarationp. 69
Text Declarationsp. 70
XML-Defined Character Setsp. 71
Unicodep. 72
ISO Character Setsp. 74
Platform-Dependent Character Setsp. 75
Converting Between Character Setsp. 76
The Default Character Set for XML Documentsp. 77
Character Referencesp. 78
xml:langp. 81
Part II Narrative-Centric Documents
Chapter 6 XML as a Document Formatp. 85
SGML's Legacyp. 85
Narrative Document Structuresp. 86
TEIp. 88
DocBookp. 91
Document Permanencep. 94
Transformation and Presentationp. 96
Chapter 7 XML on the Webp. 98
XHTMLp. 99
Direct Display of XML in Browsersp. 105
Authoring Compound Documents with Modular XHTMLp. 110
Prospects for Improved Web Search Methodsp. 124
Chapter 8 XSL Transformationsp. 129
An Example Input Documentp. 129
xsl:stylesheet and xsl:transformp. 130
Stylesheet Processorsp. 132
Templatesp. 133
Calculating the Value of an Element with xsl:value-ofp. 134
Applying Templates with xsl:apply-templatesp. 135
The Built-in Template Rulesp. 138
Modesp. 142
Attribute Value Templatesp. 144
XSLT and Namespacesp. 144
Other XSLT Elementsp. 146
Chapter 9 XPathp. 147
The Tree Structure of an XML Documentp. 147
Location Pathsp. 150
Compound Location Pathsp. 155
Predicatesp. 157
Unabbreviated Location Pathsp. 158
General XPath Expressionsp. 160
XPath Functionsp. 163
Chapter 10 XLinksp. 168
Simple Linksp. 169
Link Behaviorp. 170
Link Semanticsp. 173
Extended Linksp. 173
Linkbasesp. 180
DTDs for XLinksp. 181
Chapter 11 XPointersp. 182
XPointers on URLsp. 182
XPointers in Linksp. 184
Bare Namesp. 185
Child Sequencesp. 186
Pointsp. 186
Rangesp. 189
Chapter 12 Cascading Stylesheets (CSS)p. 191
The Three Levels of CSSp. 193
CSS Syntaxp. 193
Associating Stylesheets with XML Documentsp. 195
Selectorsp. 197
The Display Propertyp. 200
Pixsls, Points, Picas, and Other Units of Lengthp. 201
Font Propertiesp. 202
Text Propertiesp. 203
Colorsp. 204
Chapter 13 XSL Formatting Objects (XSL-FO)p. 206
XSL Formatting Objectsp. 208
The Structure of an XSL-FO Documentp. 209
Master Pagesp. 210
XSL-FO Propertiesp. 216
Choosing Between CSS and XSL-FOp. 221
Part III Data-Centric Documents
Chapter 14 XML as a Data Formatp. 225
Programming Applications of XMLp. 225
Describing Datap. 227
Support for Programmersp. 229
Chapter 15 Programming Modelsp. 230
Event- Versus Object-Driven Modelsp. 230
Programming Language Supportp. 231
Non-Standard Extensionsp. 232
Transformationsp. 232
Processing Instructionsp. 233
Links and Referencesp. 233
Notationsp. 234
What You Get Is Not What You Sawp. 234
Chapter 16 Document Object Model (DOM)p. 236
DOM Corep. 237
DOM Strengths and Weaknessesp. 237
Parsing a Document with DOMp. 238
The Node Interfacep. 238
Specific Node Typesp. 240
The DOMImplementation Interfacep. 245
A Simple DOM Applicationp. 245
Chapter 17 SAXp. 250
The ContentHandler Interfacep. 252
SAX Features and Propertiesp. 259
Part IV Reference
Chapter 18 XML 1.0 Referencep. 265
How to Use This Referencep. 265
Annotated Sample Documentsp. 265
Key to XML Syntaxp. 266
Well-Formednessp. 266
Validityp. 273
Global Syntax Structuresp. 279
DTD (Document Type Definition)p. 285
Document Bodyp. 294
XML Document Grammarp. 295
Chapter 19 XPath Referencep. 299
The XPath Data Modelp. 299
Datatypep. 300
Location Pathsp. 301
Predicatesp. 305
XPath Functionsp. 305
Chapter 20 XSLT Referencep. 315
The XSLT Namespacep. 315
XSLT Elementsp. 315
XSLT Functionsp. 339
Chapter 21 DOM Referencep. 345
Object Hierarchyp. 346
Object Referencep. 346
Chapter 22 SAX Referencep. 400
The org.xml.sax Packagep. 400
The org.xml.sax.helpers Packagep. 407
SAX Features and Propertiesp. 413
The org.xml.sax.ext Packagep. 415
Chapter 23 Character Setsp. 417
Character Tablesp. 419
HTML4 Entity Setsp. 424
Other Unicode Blocksp. 432
Indexp. 459

Google Preview