1. Trang chủ
  2. » Công Nghệ Thông Tin

XML Step by Step- P26 pot

14 180 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 14
Dung lượng 388,21 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

See XML Extensible Markup Language Extensible Stylesheet Language... See also Hypertext Markup Language HTML; SGML Structured Generalized Markup... Language; XML Extensible MarkupLanguag

Trang 1

internal, defined, 133–135

naming, 135

overview, 131, 132–133

parameter, defined, 133–135

parameter external parsed

as available type of entity, 137

declaring, 145–147

example, 146–147

naming, 145

referencing, 148, 150

specifying system literal, 145

specifying URL, 145

syntax, 145

when to use, 146

parsed, defined, 133–135

as quoted strings, 132

referencing, 148–153

types of, 133–135

general vs parameter, 133–135

internal vs external, 133–135

parsed vs unparsed, 133–135, 141

unparsed, defined, 133–135

uses for, 132–133

entities DocumentType property, 391

ENTITIES type attribute, 113, 133–135, 140,

388, 390

Entity node, 361, 391

entity references

illustrated, 55

inserting, 148–153

predefined, 156–157

ENTITY type attribute, 112–113, 135, 140,

390–391

enumerated type attributes, 110, 114–116

EOF DSO recordset property, 325

equations, mathematical, 6

errors, XML, catching in Internet Explorer,

31–33

events, defined, 302

extensible, defined, 7

Extensible Forms Description Language

(XFDL), 17

Extensible Markup Language See XML

(Extensible Markup Language)

Extensible Stylesheet Language See XSLT

(Extensible Stylesheet Language

Transformations)

external DTD subsets, 120–125, 147–149 external

defined, 133–135 general, parsed

as availlable type of entity, 134 declaring, 138–139

example, 138–139 naming, 138

referencing, 148–153, 149

specifying system literal, 138 specifying URL, 138

syntax, 138 general, unparsed

as available type of entity, 134 declaring, 139–141

examples, 142, 152–153 Inventory Entity example, 388–392 naming, 139

referencing, 148, 150

specifying notation, 141 specifying system literal, 139, 392 syntax, 139

parameter, parsed

as available type of entity, 134 declaring, 145–147

example, 146–147 naming, 145

referencing, 148, 150

specifying system literal, 145 specifying URL, 145

syntax, 145 when to use, 146

parsed vs unparsed, 133–135, 141

F

Federal Express, 18 filtering XML data

referencing attributes in, 451 using XSLT style sheets, 440–445

XsltDemo04.xsl example, 447–448, 450–452 XsltDemo05.xsl example, 448–449, 450–451 XsltDemo06.xsl example, 452, 452–453, 454

FindBooks script, 352–355 firstChild node property, 365, 377, 380 firstPage TABLE element method, 309

Trang 2

#FIXED AttValue default declaration form, 117

float property, in cascading style sheets

and block elements, 259, 277

creating margin notes, 277–279

displaying floating images, 280–282

setting, 276–283

specifying CSS keyword values, 277

font-family property, in cascading style sheets,

213, 222–224

font-size property, in cascading style sheets

absolute vs relative size values, 228

example, 201–202

and inheritance, 203

setting, 224–229

specifying percentage values, 227

specifying size values, 227

font-style property, in cascading style sheets,

202, 214, 229

font-variant property, in cascading style

sheets, 231

font-weight property, in cascading style sheets,

202, 229–231

fonts, setting CSS properties, 221–231

for-each element See xsl:for-each element

FRAME HTML element, 329

functions in XSLT style sheets, 432

G

GedML (Genealogical Data in XML), 18

Genealogical Data in XML (GedML), 18

general entities

adding to Valid.xml example document,

157–162

as available types of entities, 134

declaring, 135–142

defined, 133–135

external parsed

as available type of entity, 134

declaring, 138–139

example, 138–139

naming, 138

referencing, 148, 149, 152–153

specifying system literal, 138

specifying URL, 138

syntax, 138

external unparsed

as available entity type, 134 declaring, 139–141

examples, 142, 152–153 Inventory Entity example, 388–392 naming, 139

referencing, 148, 150

specifying notation, 141 specifying system literal, 139, 392 syntax, 139

internal parsed assigning values, 136–137

as available type of entity, 134 declaring, 135–137

examples, 137, 152–153 naming, 135

referencing, 148, 149, 152–153

syntax, 136

referencing, 55, 148, 149–150, 152–153

Geography Markup Language (GML), 18

getAttribute Element node method, 381 getAttributeNode Element node method, 381 getElementByTagName

as Document node method, 372, 380, 382

as Element node method, 381

GetElements.htm file (Listing 11-5)

displaying in Internet Explorer, 382, 382 listing, 383–384

getNamedItem NamedNodeMap method, 386,

387, 391, 392

H

HEAD HTML element, 6

height property, in cascading style sheets

setting, 270–272 specifying values, 271–272

hierarchically structured documents, 7, 8–9, 16 HRMML (Human Resource Management Markup Language), 17

.htm files

DomDemo Fixed.htm file

displaying in Internet Explorer, 369, 369 listing, 367–369

DomDemo Variable.htm file

displaying in Internet Explorer, 376, 377

Trang 3

listing, 376, 377–378

script, 377–378

GetElements.htm file

displaying in Internet Explorer, 382, 382

listing, 383–384

Inventory Attribute.htm file

displaying in Internet Explorer, 348, 348

listing, 347, 347–348, 348–349

Inventory Big Table.htm file

displaying in Internet Explorer, 310, 310

listing, 313–314

Inventory Entity.htm file

listing, 388, 389–390

script, 391–392

Inventory Find.htm file

displaying in Internet Explorer, 352, 352

FindBooks script in, 352–355

listing, 350, 350–352, 352

Inventory Hierarchy Valid.htm file

creating from Inventory Hierarchy.htm

file, 342

displaying in Internet Explorer, 344, 344

listing, 342, 342–343, 344

Inventory Hierarchy.htm file

displaying in Internet Explorer, 321, 321

listing, 318, 318–319

making changes to, 342

Inventory Single.htm file

displaying in Internet Explorer, 327, 327

listing, 326, 326–327

Inventory Table.htm file

displaying in Internet Explorer, 308, 308

listing, 306, 306–307

ShowNodes.htm file

displaying in Internet Explorer, 397, 397

listing, 393, 393–394, 394–397

Validity Test DTD.htm file, 398–401, 4–401

Validity Test Schema.htm, 402–404,

405–406, 406–407

HTML See Hypertext Markup Language

(HTML)

Human Resource Management Markup

Language (HRMML), 17

Hypertext Markup Language (HTML)

angle brackets () in cascading style sheets, 5

binding elements to XML attributes,

344–349

binding elements to XML elements, 10 binding elements to XML fields, 328, 330–335

BUTTON element, 324, 329

creating pages that display XML documents one at a time, 325–327

DATAFORMATAS attribute, 334–335 DATAPAGESIZE attribute, 309 displaying documents in Internet Explorer, 5 elements of, 4–7

inserting elements into XML documents, 286–287

limitations of, 6–7 linking XML documents to HTML pages,

297, 299–303, 359–360

lists of elements, 6, 328, 328–330

ONCLICK attribute, 324, 325 relationship to SGML, 11 relationship to XML, 3–4, 7, 12 rendering markup contained in XML fields,

328, 336–337

as SGML application, 11 and single-record data binding, 322–327

SPAN element, 307, 330, 334, 342–343, 373

start-tags and end-tags, 5 TABLE element, 303, 307, 308–310

firstPage method, 309 lastPage method, 309 nextPage method, 309 previousPage method, 309

I

ID type attribute, 111 IDREF type attribute, 111–112 IDREFS type attribute, 112

IFRAME HTML element, 329

IGNORE keyword, 124–125 iLingo, 17

IMG HTML element, 329, 331, 331–333

#IMPLIED default declaration form, 116

@import directive

defined, 208 and order of precedence, 208, 214 specifying URL value, 208–209

importing style sheets, 208, 214

Trang 4

INCLUDE keyword, 124–125

inherited properties

for text spacing and alignment, 246

vs noninherited properties in cascading style

sheets, 203–204, 213

innerText HTML property, 373, 395

INPUT HTML element, 329

INPUT TYPE=BUTTON HTML element, 329

INPUT TYPE=HIDDEN HTML element, 329

INPUT TYPE=PASSWORD HTML

element, 329

INPUT TYPE=RADIO HTML element, 329

INPUT TYPE=TEXT HTML element,

329, 336

instance document, 186, 190–192

instructions See processing instructions

insurance-related data, exchanging, 17

internal DTD subsets, 122–124

internal entities

defined, 133–135

general, parsed

assigning values, 136–137

as available type of entity, 134

examples, 136–137, 152–153

naming, 135

referencing, 148, 150, 152–153

syntax, 136

parameter, parsed

assigning values, 144

as available type of entity, 134

declaring, 143–145

example, 144–145

naming, 143–144

referencing, 148, 149

syntax, 143–147

Internet Explorer

catching XML errors, 31–33

default XSL style sheet, 33

displaying Book.htm document,

322–323, 321

displaying DomDemo Fixed.htm document,

376, 377

displaying DomDemo Variable.htm

document, 374, 375

displaying GetElements.htm document,

41, 41

displaying HTML documents, 5 displaying Inventory Attribute.htm

document, 347, 347

displaying Inventory Big Table.htm

document, 310, 310

displaying Inventory Big.xml document,

310, 310

displaying Inventory Find.htm document,

350, 350

displaying Inventory Hierarchy Valid.htm document, 342–343

displaying Inventory Hierarchy.htm docu-ment, 318–319

displaying Inventory Image.htm document, 331–332

displaying Inventory Single.htm document, 325–327

displaying Inventory Table.htm document, 306–307

displaying Inventory.htm document, 304–306, 376–377

displaying Inventory01.xml document, 37,

37, 198–200

displaying Inventory02.xml document,

41, 41

displaying Inventory03.xml document,

61, 61

displaying Inventory04.xml document, 66, 66–68

displaying Leaves.xml document, 238

displaying Raven.xml document, 261–262 displaying Raven01.xml document, 280, 280

displaying Raven02.xml document, 283,

283, 285, 285 displaying Raven03.xml document, 289 displaying Raven04.xml document, 294, 294

displaying ShowNodes.htm document,

397, 397

displaying XML documents, 10, 12, 26, 29–41

with cascading style sheets, 34–41, 37,

41, 202, 202

overview, 29–30

without cascading style sheets, 30, 30–31

displaying XsltDemo.xml document,

446, 446

Trang 5

displaying XsltDemo01.xml document,

414, 414

displaying XsltDemo06.xml document,

455, 455

order of precedence for processing cascading

style sheets rules, 214–215

and XML comment text, 82–83

XML error-checking feature, 31–33

and XML processing instructions, 84

and XML processor, 307

Inventory Attribute.htm file (Listing 8-14)

listing, 346–347

Inventory Attribute.htm file (Listing 10-12)

displaying in Internet Explorer, 348, 348

listing, 345, 347, 345–348

Inventory Attributes.xml file (Listing 11-6),

383–384, 385

Inventory Attributes.xml file (Listing 11-6), 385

Inventory Big Table.htm file (Listing 10-4)

displaying in Internet Explorer, 310, 310

listing, 313–314, 313–314

Inventory Big.xml file (Listing 10-3)

displaying in Internet Explorer, 308

Inventory Big.xml file (Listing 10-3)

displaying in Internet Explorer, 308, 308

listing, 311–313, 311–313

Inventory DOM.xml file (Listing 11-1)

hierarchical DOM organization, 363, 363

listing, 364, 364

and ShowNodes.htm example, 396, 397

Inventory Entity.htm file (Listing 11-8)

listing, 388–390, 388–390

script, 391–392

Inventory Entity.xml file (Listing 11-7), 388,

388–389

Inventory Find.htm file (Listing 10-13)

displaying in Internet Explorer, 350, 350

FindBooks script in, 352–356

listing, 350–352, 350–352

Inventory Hierarchy Valid.htm file

(Listing 10-11)

creating from Inventory Hierarchy.htm,

339–340

displaying in Internet Explorer, 342, 342

listing, 338–341, 338–341

Inventory Hierarchy Valid.xml file (Listing 10-10)

creating from Hierarchy.xml, 337–338

listing, 342–343, 342–343

Inventory Hierarchy.htm file (Listing 10-6)

listing, 318–319, 318–319

making changes to, 337–342

Inventory Hierarchy.xml file (Listing 10-5)

listing, 315–318, 315–318

making changes to, 335–337

Inventory Image.htm file (Listing 10-9)

displaying in Internet Explorer, 333, 333 listing, 332–333, 332–333

Inventory Image.xml file (Listing 10-8)

listing, 331–332, 331–332

Inventory Instance.xml (Listing 7-4)

listing, 190–192, 190–192

Inventory Schema.xsd (Listing 7-3)

listing, 187–189, 187–189

Inventory Single.htm file (Listing 10-7)

displaying in Internet Explorer, 327, 327 listing, 326–327, 326–327

Inventory Table.htm file (Listing 10-2)

displaying in Internet Explorer, 308, 308 listing, 306–307, 306–307

Inventory Valid Entity.xml file (Listing 6-1)

creating from Inventory Valid.xml file, 157–158

listing, 160–162, 160–162

and ShowNodes.htm example, 393–397

Inventory Valid.xml file (Listing 5-1)

making changes to, 157–158

Inventory Valid.xml file (Listing 5-2)

creating from Inventory.xml file, 125–129

listing, 127–129, 127–129

Inventory01.css file

Listing 2-2, 34, 34 Listing 7-1, 201, 201

Inventory02.css file (Listing 2-4), 38, 38, 67

Inventory.xml file

displaying in Internet Explorer, 30, 30, 308,

308, 377, 377

and Document Object Model (DOM), 376–380

Listing 2-1, 23–24, 23–24

Listing 8-1, 302

Trang 6

Listing 10-1, 304–307, 304–307

Inventory01.xml file

displaying in Internet Explorer, 37, 37, 202,

202, 207, 207

Inventory02.xml file (Listing 2-5)

displaying in Internet Explorer, 40–41, 41

listing, 39–40, 39–40

Inventory03.xml file (Listing 3-2)

displaying in Internet Explorer, 61, 61

listing, 59–61, 60–61

Inventory04.xml file (Listing 3-3)

displaying in Internet Explorer, 68, 68

listing, 66–67, 67, 67

ISO/IEC 10646 character set, 153–154

item NamedNodeMap method, 386, 386

item NodeList method, 374

J

JavaScript, 10 See also script code

JScript, 325 See also script code

L

LABEL HTML element, 329

languages, and encoding, 77–80

lastChild node property, 365, 380

lastPage TABLE element method, 309

Leaves.css file (Listing 8-3), 236, 236

Leaves.xml file (Listing 8-4)

displaying in Internet Explorer, 238, 238

listing, 236, 236–237

legal documents (Open XML Court

Interface), 17

length NamedNodeMap property, 386, 386

length NodeList property, 374, 378

length Text node property, 376

letter-spacing property, in cascading style sheets

inheritance, 246

setting, 246–247

line-height property, in cascading style sheets

inheritance, 246

setting, 254–255

specifying size values, 254–255

lists, bulleted and numbered, 219–221

literal result elements, 455–456

literals

as attribute values, 65–66, 137

as entity values, 136, 139, 141–142, 144 quote marks as delimiters, 49

location path expression in XSLT style sheets,

437–438 lower case See case sensitivity

M

margin-bottom property, in cascading

style sheets

Raven.xml example, 260–262 setting, 259–262

specifying percentage values, 259–260 specifying size values, 227, 259

margin-left property, in cascading style sheets

Raven.xml example, 260–262 setting, 259–262

specifying percentage values, 259–260 specifying size values, 227, 259

margin note, creating, 277–279 margin properties, in cascading style sheets,

257, 259–262

margin-right property, in cascading style sheets

Raven.xml example, 260–262 setting, 259–262

specifying percentage values, 259–260 specifying size values, 227, 259

margin-top property, in cascading style sheets

example, 202 and inheritance, 203 Raven.xml example, 260–262 setting, 259–262

specifying percentage values, 259–260 specifying size values, 227, 259

markup, defined, 27 markup declarations

overview, 96 and parameter entities, 144, 145

and standalone document declarations,

49, 159 types of, 96–97

markup languages, 3 See also Hypertext

Markup Language (HTML); SGML (Structured Generalized Markup

Trang 7

Language); XML (Extensible Markup

Language)

MARQUEE HTML element, 329

match XSL attribute, 415, 433–435, 438

mathematical equations, 6, 18

Mathematical Markup Language (MathML), 18

MathML (Mathematical Markup Language), 18

.mdb files, 8

methods

defined, 300

Document nodes

getElementsByTagName method, 373,

380–383

nodeFromID method, 373

DSO programming model

addNew recordset method, 336

cancelUpdate recordset method, 336

delete recordset method, 336

move method, 324

movenext method, 324, 324

moveprevious method, 324, 324

Element nodes

getAttribute method, 381

getAttributeNode method, 381

getElementsByTagName method, 381

HTML TABLE elements

firstPage method, 309

lastPage method, 309

nextPage method, 309

previousPage method, 309

NamedNodeMap collection objects

getNamedItem NamedNodeMap method,

386, 391, 392

item NamedNodeMap method, 386, 386

list of methods and properties, 386

nextNode NamedNodeMap method, 386

reset NamedNodeMap method, 386

NodeList collection objects

item NodeList method, 374

list of methods and properties, 374

nextNode NodeList method, 374

reset NodeList method, 374

substringData Text node method, 376

Microsoft Access, 6, 8, 16

Microsoft JScript, 325 See also script code

Microsoft Visual Studio applications, 21

minimalist XML documents, 51

move DSO recordset method, 324 movefirst DSO recordset method, 324 movelast DSO recordset method, 324 movenext DSO recordset method, 324 moveprevious DSO recordset method, 324

multiple attribute-list declarations, 109 multiple cascading style sheets, 211 multiple rules, 204

multiple XSL templates, 432–435 Music XML, 18

musical scores, 6, 7

N

name tokens, 113–114 NamedNodeMap collection objects

getNamedItem NamedNodeMap method,

386, 386, 391–392 item NamedNodeMap method, 386, 386 length NamedNodeMap method, 386, 386 list of methods and properties, 386

nextNode NamedNodeMap method, 386 reset NamedNodeMap method, 386

using, 385–386, 386, 391–392

namespaces

and colon in attribute names, 64 referencing, 206

using, 69–77, 117–120, 286–287

xsl: namespace designation, 415

in XSLT, 457–459

naming

attributes, 63–64 duplicate names, 142 element types, 8, 53–54 entities, 137

named type definitions in schemas, 173 notation, 141

nested elements, 27, 28, 50–52, 54, 315–322 news and information, exchanging, 18 News Markup Language (NML), 18

nextNode NamedNodeMap method, 386 nextNode NodeList method, 374

nextPage TABLE element method, 309 nextSibling node property, 365, 380

NML (News Markup Language), 18

Trang 8

NMTOKEN type attribute, 113

NMTOKENS type attribute, 113–114

nodeFrom ID Document node method, 373

NodeList collection objects

item NodeList method, 374

length NodeList property, 374, 376

list of methods and properties, 374

nextNode NodeList method, 374

reset NodeList method, 374

using, 374

vs NamedNodeMap collection objects, 386

nodeName node property, 360–362, 365, 387

nodes

defined, 360

methods, 366 (See also NodeList collection

objects)

name characteristics, 362

obtaining names, 362

obtaining values, 362

organizing in XML documents, 362–363

as programming objects, 364

properties

attributes node property, 365, 382, 385

childNodes node property, 365, 371,

374, 380

dataType node property, 365

firstChild node property, 365, 375, 380

lastChild node property, 365, 380

nextSibling node property, 365, 380

nodeName node property, 365,

360–362, 387

nodeTypeString node property, 365, 397

nodeValue node property, 360-362, 365,

375, 387

ownerDocument node property, 365

parentNode node property, 365, 380

previousSibling node property, 365, 380

text node property, 365, 371, 375–376

xml node property, 365

ShowNodes.htm example, 393–398

types of, 360, 360–361, 362

nodeType node property, 365

nodeTypeString node property, 365, 397

nodeValue node property, 360–361, 365, 387

notation

declaring, 141–142

in Inventory Entity.htm example, 389–390 naming, 141

overview, 141 specifying system literal, 141–142 specifying URL, 145

NOTATION keyword, 115

Notation node, 361, 392 notations Document Type property, 392

numbered lists, creating, 219–221

O

OFX (Open Financial Exchange), 17 OMF (Weather Observation Markup Format), 18

ONCLICK HTML attribute, 324 Open Financial Exchange (OFX), 17 Open Software Description (OSD), 17 Open XML Court Interface (OXCI), 17 opening XML documents in Internet Explorer,

10, 12, 26, 29–41, 210–211 OSD (Open Software Description), 17

ownerDocument node property, 365

OXCI (Open XML Court Interface), 17

P

package tracking, 18

padding-bottom property, in cascading

style sheets

setting, 268–269 specifying percentage values, 268–269 specifying size values, 268–269

padding-left property, in cascading style sheets

setting, 268–269 specifying percentage values, 268–269 specifying size values, 268–269

padding properties, in cascading style sheets,

257, 268–269

padding-right properties, in cascading

style sheets

setting, 268–269 specifying percentage values, 268–269 specifying size values, 268–269

padding-top properties, in cascading

style sheets

Trang 9

setting, 268–269

specifying percentage values, 268–269

specifying size values, 268–269

paging, 309–315

parameter entities

as available types of entities, 134

declaring, 143–147

defined, 133–135

external parsed

as available type of entity, 134

declaring, 145–147

naming, 145

referencing, 148, 150

specifying system literal, 145

specifying URL, 145

syntax, 145

when to use, 146

internal parsed

assigning values, 144

as available type of entity, 134

declaring, 143–145

example, 145

naming, 143–144

referencing, 148, 150

syntax, 143

locations, 151

parent elements, 52 See also child elements

parentNode node property, 365, 380

parsed entities

defined, 133–135

general, external

as available type of entity, 134

declaring, 137–139

example, 138–139

naming, 137

referencing, 148, 149, 152–153

specifying system literal, 137

specifying URL, 137

syntax, 137

general, internal

assigning values, 136–137

as available type of entity, 134

character references in, 156

declaring, 135–137

examples, 137, 152–153

naming, 135

referencing, 148, 149, 152–153

syntax, 136 parameter, external

as available type of entity, 134 declaring, 145–147

example, 146–147 naming, 145

referencing, 148, 149

specifying system literal, 145 specifying URL, 145

syntax, 145 when to use, 146 parameter, internal assigning values, 143

as available type of entity, 134 declaring, 143–145

example, 145

referencing, 148, 149

syntax, 143

vs unparsed entities, 133–135, 141

parseError property, 366, 399–401

parser, XML, 31–33, 55 Parts.xml file (Listing 3-1)

listing, 47–49, 47–49 well-formed document example, 46, 49

path operators

and filtering, 438, 440 overview, 419

and sorting, 443, 445–446

patterns, in XSL templates

and filters, 440–445 overview, 413 root of document, 412–415

and select attribute, 418, 428

and sorting, 445–446

percent character (%), 136 positioning properties, in cascading style sheets,

250, 258–259, 272–273, 272–276 precedence, in cascading style sheets, 205, 207–209, 211–214

predefined entity references, 156–157, 335

previousPage TABLE element method, 309 previousSibling node property, 365, 380

Printing Industry Markup Language (PrintML), 17

Trang 10

PrintML (Printing Industry Markup

Language), 17

processing instructions

defined, 26–27, 56

form of, 84

overview, 83

Parts.xml example, 47, 49

as type of element content, 56

uses for, 84–85

where to place, 85–86

xml-stylesheet, 209–211

ProcessingInstruction node, 361, 397

processor See XML processor

prologs

adding document type declarations, 95–99

adding xml-stylesheet processing

instructions, 209–210, 211, 214, 411

Inventory.xml example, 23–25, 26

overview, 25–26, 26

Parts.xml example, 47

properties

in cascading style sheets

background-color property, 203,

232–234, 235

background-image property, 209,

235–236, 238

background-position property, 203,

235, 241–245

background-repeat property, 203, 235,

239–243

border-color property, 233, 263, 267

border-style property, 219, 263–265

border-width property, 219, 263–266

box properties, 203, 251, 257–259, 268

clear property, 283–284

color property, 219, 232–235

defined, 200–201

display property, 203, 215–218

float property, 276–283

font-family property, 213, 222–224

font-size property, 224

font-style property, 229

font-variant property, 231

font-weight property, 229

height property, 270

illustrated, 200, 202

inherited vs noninherited, 203–204, 213 letter-spacing property, 246–247

line-height property, 246, 254–255 margin-bottom property, 259–262 margin-left property, 259–262 margin-right property, 259–262 margin-top property, 202, 203, 259–262

overview, 201–202, 202

padding-bottom property, 268–269 padding-left property, 268–269 padding-right property, 268–269 padding-top property, 268–269

positioning properties, 272–276 specifying keyword values, 219

text-align property, 246, 250–252 text-decoration property, 246, 255–256 text-indent property, 246, 253–254 text-transform property, 246, 255 vertical-align property, 203, 246, 248–250 width property, 270–272

defined, 302 DocumentType node

entities Document Type property, 291 notations Document Type property, 292

nodes, 360–367

attributes node property, 365, 384, 385 childNodes node property, 365, 371,

374, 380

dataType node property, 365 firstChild node property, 365, 375, 380 lastChild node property, 365, 380 nextSibling node property, 365, 380 nodeName node property, 362, 365, 387 nodeType node property, 365

nodeTypeString node property, 365, 397 nodeValue node property, 362, 365,

375, 387

ownerDocument node property, 365 parentNode node property, 365, 380 previousSibling node property, 365, 380 text node property, 366, 371, 375–376 xml node property, 364

and STYLE attribute, 206–207, 212

psudo-elements, 285

Ngày đăng: 03/07/2014, 07:20