Xml in a Nutshell: A Desktop Quick Reference

by ;
Format: Paperback
Pub. Date: 2001-01-01
Publisher(s): Oreilly & Associates Inc
  • Free Shipping Icon

    Receive Free Shipping To The More Store!*

    *Marketplace items do not qualify for the free shipping promotion.

List Price: $29.95

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

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 Nutshellwill 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 Nutshellcovers 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

Preface xi
Part I: XML Concepts
Introducing XML
3(8)
What XML Offers
3(3)
Portable Data
6(1)
How XML Works
6(2)
The Evolution of XML
8(3)
XML Fundamentals
11(15)
XML Documents and XML Files
11(1)
Elements, Tags, and Character Data
12(3)
Attributes
15(2)
XML Names
17(1)
Entity References
18(1)
CDATA Sections
19(1)
Comments
20(1)
Processing Instructions
20(1)
The XML Declaration
21(2)
Checking Documents for Well-Formedness
23(3)
Document Type Definitions
26(32)
Validation
26(8)
Element Declarations
34(5)
Attribute Declarations
39(7)
General Entity Declarations
46(2)
External Parsed General Entities
48(1)
External Unparsed Entities and Notations
49(2)
Parameter Entities
51(2)
Conditional Inclusion
53(1)
Two DTD Examples
54(2)
Locating Standard DTDs
56(2)
Namespaces
58(11)
The Need for Namespaces
58(3)
Namespace Syntax
61(5)
How Parsers Handle Namespaces
66(1)
Namespaces and DTDs
67(2)
Internationalization
69(16)
The Encoding Declaration
69(1)
Text Declarations
70(1)
XML-Defined Character Sets
71(1)
Unicode
72(2)
ISO Character Sets
74(1)
Platform-Dependent Character Sets
75(1)
Converting Between Character Sets
76(1)
The Default Character Set for XML Documents
77(1)
Character References
78(3)
xml:lang
81(4)
Part II: Narrative-Centric Documents
XML as a Document Format
85(13)
SGML's Legacy
85(1)
Narrative Document Structures
86(2)
TEI
88(3)
DocBook
91(3)
Document Permanence
94(2)
Transformation and Presentation
96(2)
XML on the Web
98(31)
XHTML
99(6)
Direct Display of XML in Browsers
105(5)
Authoring Compound Documents with Modular XHTML
110(14)
Prospects for Improved Web Search Methods
124(5)
XSL Transformations
129(18)
An Example Input Document
129(1)
xsl:stylesheet and xsl:transform
130(2)
Stylesheet Processors
132(1)
Templates
133(1)
Calculating the Value of an Element with xsl:value-of
134(1)
Applying Templates with xsl:apply-templates
135(3)
The Built-in template Rules
138(4)
Modes
142(2)
Attribute Value Templates
144(1)
XSLT and Namespaces
144(2)
Other XSLT Elements
146(1)
XPath
147(21)
The Tree Structure of an XML Document
147(3)
Location Paths
150(5)
Compound Location Paths
155(2)
Predicates
157(1)
Unabbreviated Location Paths
158(2)
General XPath Expressions
160(3)
XPath Functions
163(5)
XLinks
168(14)
Simple Links
169(1)
Link Behavior
170(3)
Link Semantics
173(1)
Extended Links
173(7)
Linkbases
180(1)
DTDs for XLinks
181(1)
XPointers
182(9)
XPointers on URLs
182(2)
XPointers in Links
184(1)
Bare Names
185(1)
Child Sequences
186(1)
Points
186(3)
Ranges
189(2)
Cascading Stylesheets (CSS)
191(15)
The Three Levels of CSS
193(1)
CSS Syntax
193(2)
Associating Stylesheets with XML Documents
195(2)
Selectors
197(3)
The Display Property
200(1)
Pixels, Points, Picas, and Other Units of Length
201(1)
Font Properties
202(1)
Text Properties
203(1)
Colors
204(2)
XSL Formatting Objects (XSL-FO)
206(19)
XSL Formatting Objects
208(1)
The Structure of an XSL-FO Document
209(1)
Master Pages
210(6)
XSL-FO Properties
216(5)
Choosing Between CSS and XSL-FO
221(4)
Part III: Data-Centric Documents
XML as a Data Format
225(5)
Programming Applications of XML
225(2)
Describing Data
227(2)
Support for Programmers
229(1)
Programming Models
230(6)
Event- Versus Object-Driven Models
230(1)
Programming Language Support
231(1)
Non-Standard Extensions
232(1)
Transformations
232(1)
Processing Instructions
233(1)
Links and References
233(1)
Notations
234(1)
What You Get Is Not What You Saw
234(2)
Document Object Model (DOM)
236(14)
DOM Core
237(1)
DOM Strengths and Weaknesses
237(1)
Parsing a Document with DOM
238(1)
The Node Interface
238(2)
Specific Node Types
240(5)
The DOMImplementation Interface
245(1)
A Simple DOM Application
245(5)
SAX
250(15)
The ContentHandler Interface
252(7)
SAX Features and Properties
259(6)
Part IV: Reference
XML 1.0 Reference
265(34)
How to Use This Reference
265(1)
Annotated Sample Documents
265(1)
Key to XML Syntax
266(1)
Well-Formedness
266(7)
Validity
273(6)
Global Syntax Structures
279(6)
DTD (Document Type Definition)
285(9)
Document Body
294(1)
XML Document Grammar
295(4)
XPath Reference
299(16)
The XPath Data Model
299(1)
Datatype
300(1)
Location Paths
301(4)
Predicates
305(1)
XPath Functions
305(10)
XSLT Reference
315(30)
The XSLT Namespace
315(1)
XSLT Elements
315(24)
XSLT Functions
339(6)
DOM Reference
345(55)
Object Hierarchy
346(1)
Object Reference
346(54)
SAX Reference
400(17)
The org.xml.sax Package
400(7)
The org.xml.sax.helpers Package
407(6)
SAX Features and Properties
413(2)
The org.xml.sax.ext Package
415(2)
Character Sets
417(42)
Character Tables
419(5)
HTML4 Entity Sets
424(8)
Other Unicode Blocks
432(27)
Index 459

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.