| |
XHTML 239-242
and
XSLT 239
description
15
DTD
for 242
file
extensions for 240
how
does a browser know? 240
serving
as HTML 240
syntax
241
vs.
HTML 239
writing
241
XLink 225-236
actuate
attribute 227
description
14
extended
element 228
href
attribute 226
lack
of support for 225
role
attribute 226
show
attribute 227
simple
element 227
title
attribute 226
type
attribute 226
XML
See
also DTDs, XML Schema, XSLT, XPath, CSS, XLink, and XPointer
applications
13, 21
attributes
22, 28
block
level vs. inline elements 190
built-in
entities 31
character
encodings 24
comments
30
creating
documents 21
declaration
24
displaying
elements as text 32
editors
73
elements
22
empty
elements 29
examples
from book, downloading 16
formatting,
lack of default 177, 178
generating
documents from other documents 59
images
225
links
225
namespaces
113-132
nesting
elements 27
non-empty
elements, creating 26
online
help 18
power
of 13
problem
with serving pages directly 225
Question
and Answer board 18
real
world 15
resources
243
root
element, creating 25
rules
for writing 23
serving
as XHTML 240
serving,
risks of 239
syntax
21-32
tools
243-246
tools
for writing 21
transforming
with XSLT 135-173, 246
overview
136-137
valid
documents 36
validating
against
a schema 73, 122, 129
values
22
Web
site 18
writing
21-32, 243
XML parsers 13
XML Schema 69-132
See
also schemas
all
element 97
annotation
element 74
anyType
type 103
as
default schema 128
attribute
element 108
attributeFormDefault
attribute 124
attributeGroup
element 111
base
attribute 102, 105
boolean
type 76
century
type 79
choice
element 96
complexContent
element 103, 105
complexType
element 94, 102, 103, 104,
105, 107
current
status 69
date
type 76, 78
decimal
type 76, 80
default
attribute 91
description
14
documentation
element 74
double
type 80
element
element 76, 106
elementFormDefault
attribute 124
enumeration
facet 83
extension
element 102, 103, 105
fixed
attribute 91
float
type 80
form
attribute 125
group
element 98
import
element 132
include
element 131
integer
type 80
language
type 76
length
facet 88
list
element 90
maxExclusive
facet 86
maxInclusive
facet 86
maxLength
facet 88
maxOccurs
attribute 101
minExclusive
facet 87
minInclusive
facet 87
minLength
facet 88
minOccurs
attribute 101
mixed
attribute 104
month
type 79
namespace
for 72
negativeInteger
type 80
nonNegativeInteger
type 80
nonPositiveInteger
type 80
pattern
facet 84
positiveInteger
type 80
precision
facet 89
recurringDate
type 79
recurringDay
type 79
ref
attribute 108, 126-127
regular
expressions 84-85
restriction
element 102, 105
restriction
type 81
scale
facet 89
schema
element 72, 128
sequence
element 95
simpleContent
element 102
simpleType
type 81, 82
string
type 76
targetNamespace
attribute 123
and
including components from other documents 131
vs.
xmlns 127
time
type 76, 78
timeDuration
type 78
timeInstant
type 78
type
attribute 106, 108, 126-127
uri-reference
type 76
use
attribute 109, 110
value
attribute 109, 110
xmlns
attribute
for
assigning default namespace 115
for
declaring namespace prefixes 116
vs.
targetNamespace 127
year
type 79
XML Schema Instance
namespace
for 73
noNamespaceSchemaLocation
attribute 73
schemaLocation
attribute 130, 131, 132
with
target namespace 130
XML Schema Validator 73
XML Spy 73
XML Validator (Brown University STG) 244
XML-RPC 17
xmlns attribute, in XML Schema
for
assigning default namespace 115
for
declaring namespace prefixes 116
vs.
targetNamespace 127
XPath 153-173
See
also nodes, node sets, and XSLT
and
XPointer 233
description
14
functions
163-173
XPointer 233-236
description
14
lack
of support for 225
range
236
simple
XPointers 234
walking
Xpointers 235
xsd:element-name. See individual element name without prefix
xsi. See XML Schema Instance
XSL 135
xsl:element-name. See element-name
without prefix
XSL-FO 135
current
status 135
description
14
XSLT 135-173
See
also XPath
and
XHTML 239
apply-templates
element 145
and
determining current node 154
attribute
element 141, 151
attributes,
generating 151
batch
processing nodes 146
beginning
a style sheet 138
calling
CSS style sheet 184
calling
style sheet for generated HTML document 186
capitalizing
strings in nodes 173
choose
element 149
conditional
choices 149
counting
nodes 167
current
node 142
determining
154
referring
to 155
declaring
namespace 138
description
14
element
element 141
expressions
153-173
comparing
two values 164
extracting
substrings from nodes 171-172
for-each
element 146
formatting
numbers with expressions 169
functions.
See XPath functions
HTML
tables 147
HTML,
outputting 140
if
element 148
match
attribute 139, 144
multiplying,
dividing, adding, subtracting node values 168
nodes
136
selecting
attributes of 160
selecting
children 156
selecting
descendants 158
selecting
parents/siblings 157
selecting
subsets of 161
otherwise
element 149
outputting
nodes content 142
patterns
and expressions for 153-173
.
(period) 142
processing
nodes conditionally 148
processing-instruction
element 184
processors
136, 246
root
template 139
rounding
node values 170
select
attribute 142, 145
sort
element 150
sorting
nodes before processing 150
stylesheet
element 138
subtotaling
values of nodes 166
template
element 139, 144
template
rules, creating and applying
144-145
testing
position of nodes 165
text
element 141
transforming
XML with 246
using
HTML for formatting 140
value-of
element 142
and
xsl:attribute 151
when
element 149
XPath
153-173
XPath
functions 163-173
XSV. See XML Schema Validator
|
|