search for books and compare prices
Tables of Contents for Essential Xml for Web Professionals
Chapter/Section Title
Page #
Page Count
Foreword
xxi
 
Acknowledgments
xxiii
 
About the Author
xxv
 
Introduction to XML
1
8
What XML Is
1
2
What's a Markup Language?
2
1
What's ``Extensible?''
2
1
Summary
3
1
What XML Is Good For
3
2
Send Anything Anywhere to Anybody
3
1
Everyone Can Understand Everything
4
1
Write Once, Display Everywhere
4
1
Free and Clear
5
1
Save the Data
5
1
A Brief History of XML
5
2
Recap
7
2
Your First XML
9
10
Overview
9
2
Elements & Nodes
11
1
Types of Elements
12
1
Empty Elements
12
1
Naming Elements
12
1
Structure & Syntax
12
2
Root Element
13
1
Closing Tags
13
1
Proper Nesting
13
1
Values Must Be in Quotation Marks
14
1
XML Version Declaration
14
1
Attributes
14
1
Rules about Attributes
14
1
Use of Attributes vs. Text Nodes
15
1
Viewing XML
15
1
Comments and the Five Special Symbols
15
3
Recap
18
1
Defining XML: DTDs
19
26
What Is a DTD?
20
1
Why DTDs Are Good
21
2
Testing Your DTD
21
1
Calling an External DTD
22
1
Calling a Public DTD
22
1
Defining Elements
23
2
Advanced Element Definition (or Making Children Behave)
25
4
One or More Children
25
1
Zero or More Children
26
1
Zero or One Children
26
1
Specific Number of Children
27
1
Choosing Among Children
27
1
Twins
28
1
Maybe Children, Maybe Not
28
1
Element Definition Summary
29
1
Defining Attributes
29
1
Setting Default Values
30
2
Setting and Choosing Attribute Types
32
4
Enumerated
32
1
ID
33
1
IDREF
34
1
IDREFS
35
1
NMTOKEN & NMTOKENS
35
1
Defining Entities and Notation
36
8
Predefined Entities
36
1
Shortcuts for Text
36
1
Entity Jargon
37
1
Parsed or Unparsed
37
1
General or Parameter
37
1
Internal or External
38
1
Parameter Entities
38
1
External Entities
39
1
External General Entities (for the XML)
39
1
External Parameter Entities (for the DTD)
40
1
Unparsed Entities and Notations
41
2
Embedding Unparsed Entities
43
1
Recap
44
1
Defining XML: XML Schema
45
20
Introduction to Namespaces
45
2
Introduction to XML Schema
47
2
Simple Types
49
14
Other Number-Based Simple Types
50
2
Date- and Time-Based Simple Types
52
2
Miscellaneous Simple Types
54
1
Creating Custom Simple Types
55
1
Forcing Text to Fit a Pattern
56
2
Limiting Numerical Values
58
1
Limiting Length of Strings
59
1
Creating Lists
60
1
Combining Simple Types
61
1
Determining an Element's Content
62
1
Reusable Custom Simple Types
62
1
Recap
63
2
XML Schema: Complex Types
65
18
Elements Containing Other Elements
65
5
Cardinality
66
2
xsd:choice
68
1
xsd:all
69
1
Defining Attributes
70
4
Attribute Uses
70
1
Attributes and Elements
70
2
Attributes and Text
72
1
Attributes, Text, and Nested Elements
73
1
Creating Custom Complex Types
74
1
Referencing Elements and Attributes
75
1
New Complex Types Based on Existing Types
76
2
Miscellaneous
78
1
Named Groups of Elements and Attributes
78
4
Groups of Elements
79
1
Groups of Attributes
80
1
Annotation and Documentation
81
1
Including External Files
82
1
Recap
82
1
Namespaces
83
10
Purpose
83
1
Syntax
84
1
Default Namespaces
85
1
What Namespaces Are
85
1
What Namespaces Are Not
85
2
Using Namespaces
87
2
Scope
87
1
Overriding a Namespace
87
1
Multiple Namespaces
88
1
Namespaces and Attributes
88
1
Namespaces and DTDs
89
1
Namespaces and Validity
89
1
Namespaces and XML Schema
90
2
Recap
92
1
XLink: Creating Links n XML
93
24
Introduction to XLink
94
1
What XLink Can Do
94
1
How XLink Is Implemented
94
1
Concepts and Terminology
95
1
Definitions
95
3
Resource
95
1
link
96
1
XLink element
96
1
traverse
96
1
arc
96
1
inbound traversal
96
1
outbound traversal
96
1
third-party traversal
97
1
XLink application
97
1
simple link
97
1
extended link
97
1
linkbases
98
1
Usage
98
1
Attributes
98
1
Elements and Their Attributes
99
1
Simple Links
100
2
type
100
1
href
101
1
show
101
1
actuate
101
1
role
102
1
arcrole
102
1
What Simple Links Can't Do
102
1
Simple Links that Seem Like Errors, but Aren't
102
1
Links without a Starting Resource
102
1
Links with no href Attribute
103
1
Simple Links in a DTD
103
1
Extended-Type Elements (Extended Links)
103
3
Locator-Type Elements
104
2
Extended Links and DTDs
106
2
Resource-Type Elements
108
1
Locator-Type Elements
108
1
Arc-Type Elements
109
4
Setting Several Traversals with a Single Arc
110
2
Using arcrole and Linkbases
112
1
Title-Type Elements
113
1
Simple vs. Extended Links
113
1
XLink Attributes
114
1
type
114
1
href
114
1
Semantic Attributes (title, role, arcrole)
114
1
title
114
1
role
114
1
arcrole
115
1
Behavior Attributes (show, actuate)
115
1
show
115
1
actuate
115
1
Traversal Attributes (label, from, to}
116
1
label
116
1
from
116
1
to
116
1
Recap
116
1
XHTML: Create Working Web Pages in XML Now
117
8
Purpose
117
1
Why Bother?
118
1
Modularized XHTML
118
1
What XHTML Is
118
1
User Agent Criteria
119
1
Differences from HTML
120
1
The XHTML DTDs
121
3
Recap
124
1
Beginning XSLT: Xpath
125
16
XSL Overview
126
1
XSLT
126
1
XPath Overview
127
1
How XPath Sees the World
127
3
Root Nodes
128
1
Element Nodes
129
1
Attribute Nodes
129
1
Text Nodes
129
1
Namespace Nodes
129
1
Processing Instruction Nodes
130
1
Comment Nodes
130
1
Location Paths
130
3
Unabbreviated Location Paths
130
1
Parts of Location Paths
131
1
Abbreviated Location Paths
132
1
Predicates
133
3
Unabbreviated Location Paths with Predicates
133
1
Abbreivated Predicates
134
2
Conditionals and Operators
136
1
Functions
136
1
Node-Set Functions
136
1
last ()
136
1
position()
136
1
count(location_path)
137
1
id(``id name'')
137
1
local-name(location_path)
137
1
namespace-uri (location_path)
137
1
name(location_path)
137
1
String Functions
137
2
string(object)
137
1
concat (string1, string2, ..., stringn)
138
1
starts-with(baseString, substring)
138
1
contains(baseString, substring)
138
1
substring-before(baseString, substring)
138
1
substring-after(baseString, substring)
138
1
substring(string, startPositon, substringLength)
138
1
string-length(string)
138
1
normalize-space(string)
139
1
translate(baseString, startTrans, endTrans)
139
1
Boolean Functions
139
1
boolean(object)
139
1
not(boolean)
139
1
Number Functions
140
1
number(object)
140
1
sum(node-set)
140
1
ceiling (number)
140
1
floor(number)
140
1
round(number)
140
1
Recap
140
1
XSLT: An Overview
141
26
Overview of XSL
141
1
Purpose of XSLT
142
1
How XSLT Works
143
3
Instructions
144
1
Literal Elements
145
1
Root Templates
146
2
Applying Multiple Templates
148
5
Instructions
153
8
xsl:value-of
153
1
xsl:strip-space
154
1
xsl:preserve-space
154
1
xsl:sort
154
1
xsl:include
155
1
xsl:import
155
1
xsl:apply-imports
156
1
xsl:apply-templates
156
1
xsl:call-template
156
1
xsl:copy
157
1
xsl:copy-of
157
1
xsl:for-each
157
1
xsl:if
158
1
xsl:choose
158
1
xsl:when
158
1
xsl:otherwise
158
1
xsl:variable
159
1
xsl:param
159
1
xsl:with-param
159
1
xsl:decimal-format
159
1
xsl:template
160
1
xsl:namespace-alias
161
1
Creating Nodes
161
2
xsl:element
161
1
xsl:attribute
161
1
xsl:attribute-set
161
1
xsl:text
162
1
xsl:processing-instruction
162
1
xsl:number
162
1
xsl:comment
163
1
Functions
163
3
document()
164
1
format-number()
164
1
current()
164
1
unparsed-entity-uri()
165
1
generate-id()
165
1
system-property()
165
1
element-available()
165
1
function-available()
165
1
Recap
166
1
XPointer: XLinking to XML Fragments
167
18
Purpose of XPointer
167
1
What XPointer Is
168
1
ID-Type Attributes
169
1
XLink Basics
169
1
XPointer Concepts and Terminology
170
2
Points
170
1
Ranges
170
1
Location
171
1
Location-Set
171
1
Singleton
172
1
Subresource
172
1
Fragment
172
1
XPointer Basics
172
4
Full-Form XPointer
173
2
Escaping
175
1
XPointer Functions
176
7
start-point
176
1
end-point
177
1
string-range
178
3
range-to
181
1
range-inside
181
1
range
182
1
here
182
1
origin
182
1
Recap
183
2
Common Examples of XML
185
24
SMIL
186
1
Modularization
187
1
Why Bother with Modularization?
187
2
Animation Modules
189
2
SplineAnimation Module
191
1
ContentControl Modules
191
1
BasicContentControl Module
191
1
CustomTestAttributes Module
192
1
PrefetchControl Module
192
1
SkipContentControl Module
192
1
Layout Modules
192
2
BasicLayout Module
192
1
AudioLayout Module
193
1
MultiWindowLayout Module
193
1
HierarchicalLayout Module
194
1
Linking Modules
194
1
LinkingAttributes Module
194
1
BasicLinking Module
195
1
ObjectLinking Module
195
1
Timing and Synchronization Module
195
2
MediaObjects Modules
197
1
BasicMedia Module
197
1
Metainformation Module
198
1
Structure Module
198
1
TimeManipulations Modules
198
1
TransitionEffects Modules
198
1
SVG
199
7
Quirks of SVG
200
1
SVG Examples
200
1
Rectangle
201
1
Circle
201
1
Paths
202
1
Text Along a Path
203
3
WDDX
206
2
Recap
208
1
Manipulating XML: The DOM
209
14
What the DOM Is and Does
209
1
Types of Nodes
210
1
DOM Interfaces
211
2
Properties and Methods
213
8
DOMImplementation
213
1
Document
214
1
Node and NodeType
215
1
NodeList
216
1
NamedNodeMap
216
1
CharacterData
217
1
Attr
218
1
Element
218
1
Text
219
1
DocumentType
219
1
Notation
220
1
Entity
220
1
ProcessingInstruction
221
1
Recap
221
2
Appendix A XML 1.0 Specification
223
62
Extensible Markup Language (XML) (Second Edition)
224
1
W3C Recommendation 6 October 2000
224
1
Abstract
224
1
Status of this Document
225
1
Table of Contents
225
2
Introduction
227
3
Origin and Goals
227
1
Terminology
228
2
Documents
230
12
Well-Formed XML Documents
230
1
Characters
231
1
Common Syntactic Constructs
232
1
Character Data and Markup
233
1
Comments
234
1
Processing Instructions
234
1
CDATA Sections
235
1
Prolog and Document Type Declaration
235
4
Standalone Document Declaration
239
1
White Space Handling
240
1
End-of-Line Handling
241
1
Language Identification
241
1
Logical Structures
242
13
Start-Tags, End-Tags, and Empty-Element Tags
243
2
Element Type Declarations
245
3
Attribute-List Declarations
248
5
Conditional Sections
253
2
Physical Structures
255
12
Character and Entity References
255
2
Entity Declarations
257
2
Parsed Entities
259
3
XML Processor Treatment of Entities and References
262
3
Construction of Internal Entity Replacement Text
265
1
Predefined Entities
266
1
Notation Declarations
266
1
Document Entity
267
1
Conformance
267
2
Validating and Non-Validating Processors
267
1
Using XML Processors
268
1
Notation
269
2
References
271
3
Normative References
271
1
Other References
272
2
Character Classes
274
3
XML and SGML (Non-Normative)
277
1
Expansion of Entity and Character References (Non-Normative)
277
2
Deterministic Content Models (Non-Normative)
279
1
Autodetection of Character Encodings (Non-Normative)
279
3
Detection Without External Encoding Information
280
2
Priorities in the Presence of External Encoding Information
282
1
W3C XML Working Group (Non-Normative)
282
1
W3C Core Group (Non-Normative)
283
1
Production Notes (Non-Normative)
284
1
Appendix B XHTML DTD: Frameset
285
28
Frameset DTD
285
28
Appendix C XHTML DTDs: Entities
313
16
Special Characters DTD
313
2
Latin Characters DTD
315
6
Symbols DTD
321
8
Appendix D XML Tools and Software
329
2
XML Editors
329
1
For Macs
329
1
DTD Software
329
1
XML Parsers
330
1
Appendix E Keeping Up to Date on XML
331
2
Index
333