WORD format, more than 600 pages, recommended for download. Here is the directory listing:
Part 1 Introduction to XML 9
Chapter 1 XML Overview 9
1.1 What is XML 10
1.1.1 XML is a meta markup language 10
1.1.2 XML describes structure and semantics, not formatting 10
1.2 Why developers are excited about XML 13
1.2.1 Designing domain-specific markup languages 13
1.2.2 Self-describing data 13
1.2.3 Exchanging data between applications 14
1.2.4 Structured and integrated data 14
1.3 The "life" of XML documents 15
1.3.1 Editor 15
1.3.2 Parsers and processors 15
1.3.3 Browsers and other tools 15
1.3.4 Summary of processing process 15
.4 Related technologies 17
1.4.1 Hypertext Markup Language 17
1.4.2 Cascading Style Sheets 17
1.4.3 Extensible Style Language 17
1.4.4 URLs and URIs 18
1.4.5 XLink and XPointer 18
1.4.6 Unicode character set 19
1.4.7 How to bring these technologies together 19
1.5 Summary of this chapter 20
Chapter 2 Introduction to XML Application 21
2.1 What is an XML application 21
2.1.1 Chemical Markup Language 21
2.1.2 Mathematical Markup Language 22
2.1.3 Channel definition format 25
2.1.4 Classic Literature 26
2.2 XML for XML 28
2.2.1 XSL 28
2.2.2 XLL 28
2.2.3 DCD 29
2.3 XML background application 30
2.4 Summary of this chapter 33
Chapter 3 The First XML Document 34
3.1 Hello XML 34
3.1.1 Create a simple XML document 34
3.1.2 Saving XML files 35
3.1.3 Loading XML files into a web browser 35
.2 Examining a simple XML document 37
3.3 Giving meaning to XML tags 39
.4 Writing stylesheets for XML documents 40
.5 Attaching stylesheets to XML documents 41
3.6 Summary of this chapter 43
Chapter 4 Data Structuring 44
4.1 Check data 44
4.1.1 Batsmen 44
4.1.2 Bowler 46
4.1.3 Organization of XML data 46
4.2 XMLization of data 48
4.2.1 Starting to write the document:
XML declaration and root element 48
4.2.2 XMLization of League, Division and Team data 49
4.2.3 XMLization of player data 52
4.2.4 XMLization of player statistics 53
4.2.5 Putting XML together 56
4.3 Advantages of XML format 71
4.4 Compiling stylesheets to display documents 72
4.4.1 Connecting with stylesheets 73
4.4.2 Specifying style rules for the root element 74
4.4.3 Specifying style rules for titles 75
4.4.4 Specifying style rules for player and statistical elements 79
4.4.5 Summary of this section 80
4.5 Summary of this chapter 85
Chapter 5 Attributes, empty tags, and XSL 86
5.1 Properties 86
5.2 Comparison of attributes and elements 95
5.2.1 Structured metadata 95
5.2.2 Metadata 99
5.2.3 Notes on metadata 100
5.2.4 Elements are more extensible 100
5.2.5 Best times to use attributes 100
5.3 Empty tag 102
5.4 XSL 103
5.4.1 XSL style sheet template 103
5.4.2 The body of the document 104
5.4.3 Title 106
5.4.4 Leagues, Divisions and Teams 108
5.4.5 Players 114
5.4.6 Distinguishing between pitchers and batters 117
5.4.7 Element content and select attribute 125
5.4.8 CSS or XSL 129
5.5 Summary of this chapter 130
Chapter 6 Completely Structured XML Document 131
6.1 Composition of XML document 131
6.2 Marking and character data 132
6.2.1 Notes 132
6.2.2 Entity Reference 134
6.2.3 CDATA 135
6.2.4 Marking 136
6.2.5 Properties 138
6.3 Well-structured
XML in a stand-alone document 140
6.4 Well-structured HTML 145
6.4.1 Problems with real web pages 145
6.4.2 HTML finishing tools 153
6.5 Summary of this chapter 156
Chapter 7 Foreign and Non-Roman Texts 157
7.1 Non-Roman scripts on the Web 157
.2 Text, character sets, fonts and glyphs 161
7.2.1 Character set for text 161
7.2.2 Character set fonts 161
7.2.3 Character set input method 161
7.2.4 Operating system and application software 162
7.3 Traditional character sets 163
7.3.1 ASCII character set 163
7.3.2 ISO character set 164
7.3.3 MacRoman character set 166
7.3.4 Windows ANSI character set 167
7.4 Unicode character set 169
7.4.1 UTF-8 171
7.4.2 Universal character system 171
7.5 How to write XML using Unicode 173
7.5.1 Using character references to insert characters in XML files 173
7.5.2 Conversion between other character sets and Unicode character sets 173
7.5.3 How to write XML using other character sets 174
7.6 Summary of this chapter 176
Part 2 Document Type Definition 177
Chapter 8 Document Type Definition and Legality 177
8.1 Document type definition 177
8.2 Document type declaration 179
8.3 Legality check based on DTD 182
8.4 Listing elements 187
8.5 Element declaration 195
8.5.1 ANY 195
8.5.2 #PCDATA 195
8.5.3 List of child elements 198
8.5.4 Sequence 200
8.5.5 One or more child elements 200
8.5.6 Zero or more child elements 201
8.5.7 Zero or one child element 201
8.5.8 Complete documentation and DTD 203
8.5.9 Select 214
8.5.10 Parenthesized child elements 215
8.5.11 Mixed content 217
8.5.12 Empty elements 218
8.6 Comments in DTD 220
8.7 Sharing common DTDs between documents 228
8.7.1 DTD at remote URL 235
8.7.2 Public DTD 236
8.7.3 Internal and external DTD subsets 237
8.8 Summary of this chapter 241
Chapter 9 Entities and External DTD Subsets 242
9.1 What is an entity? 242
.2 Internal generic entities 244
9.2.1 Defining internal generic entity references 244
9.2.2 Using generic entity references in DTDs 246
9.2.3 Predefined generic entity references 247
9.3 External generic entities 248
.4 Internal Parameter Entity 251
9.5 External parameter entities 253
.6 Creating documents from fragments 260
9.7 Entities and DTDs in well-structured documents 274
9.7.1 Internal entities 274
9.7.2 External entities 276
9.8 Summary of this chapter 283
Chapter 10 Property Declarations in DTDs 284
10.1 What are attributes? 284
10.2 Declaring properties in a DTD 285
10.3 Declaring multiple properties 287
10.4 Specifying default values for attributes 288
10.4.1 #REQUIRED 288
10.4.2 #IMPLIED 288
10.4.3 #FIXED 289
10.5 Property types 290
10.5.1 CDATA attribute type 290
10.5.2 Enumerated property types 290
10.5.3 NMTOKEN attribute type 291
10.5.4 NMTOKENS attribute type 291
10.5.5 ID attribute type 292
10.5.6 IDREF attribute type 292
10.5.7 ENTITY attribute type 293
10.5.8 ENTITIES attribute types 294
10.5.9 NOTATION attribute type 294
10.6 Predefined properties 296
10.6.1 xml: space 296
10.6.2 xml:lang 297
10.7 DTD for Attribute-Based Baseball Statistics 300
10.7.1 Declare SEASON attributes in DTD 302
10.7.2 Declare DIVISION and LEAGUE attributes in DTD 302
10.7.3 Declare TEAM attributes in DTD 302
10.7.4 Declare PLAYER attributes in DTD 303
10.7.5 Complete DTD for baseball game statistics example 306
10.8 Summary of this chapter 309
Chapter 11 Embedding non-XML data 310
11.1 Notation 310
11.2 Non-analyzable external entities 314
11.2.1 Declaring non-parsable entities 314
11.2.2 Embedding non-parsable entities 314
11.2.3 Embedding multiple non-parsable entities 317
11.3 Processing instructions 319
11.4 Conditional part of DTD 322
11.5 Summary of this chapter 324
Part 3 Style Language 325
Chapter 12 Cascading Stylesheet Level 1 325
12.1 What is
CSS ? 325
12.2 Linking stylesheets to documents 327
12.3 Selecting elements 331
12.3.1 Group selectors 331
12.3.2 Pseudo-elements 331
12.3.3 Pseudo-classe 332
12.3.4 Selecting by ID 335
12.3.5 Contextual selectors 335
12.3.6 STYLE features 336
12.4 Inheritance 337
12.5 Cascading process 339
12.5.1 @import directive 339
12.5.2 !important statement 339
12.5.3 Cascade sequence 339
12.6 Adding comments to
CSS stylesheets 341
12.7 Units in CSS 342
12.7.1 Length values 342
12.7.2 URL values 344
12.7.3 Color values 345
12.7.4 Keyword values 346
12.8 Block, inline, or list item elements 347
12.8.1 List items 352
12.8.2 whitespace attribute 354
12.9 Font properties 357
12.9.1 font-family attribute 357
12.9.2 font-style attribute 358
12.9.3 font-variant attribute 359
12.9.4 font-weight attribute 359
12.9.5 font-size attribute 360
12.9.6 font simple attributes 362
12.10 Color properties 364
12.11 Background properties 365
12.11.1 background-color property 365
12.11.2 background-image property 365
12.11.3 background-repeat property 367
12.11.4 background-attachment property 368
12.11.5 background-position property 369
12.12 Text properties 373
12.12.1 word-spacing attribute 373
12.12.2 letter-spacing property 374
12.12.3 text-decoration attribute 374
12.12.4 vertical-align property 375
12.12.5 text –transform attribute 376
12.12.6 text-align attribute 377
12.12.7 text-indent attribute 378
12.12.8 line-height property 378
12.13 Frame properties 380
12.13.1 Margin properties 380
12.13.2 Border line properties 381
12.13.3 Welt properties 384
12.13.4 Size attribute 385
12.13.5 Positioning attributes 386
12.13.6 float attribute 386
12.13.7 clear attribute 387
12.14 Summary of this chapter 389
Chapter 13 Cascading Stylesheet Level 2 389
13.1 What are the new features in CSS2? 389
13.1.1 New pseudo-classes 390
13.1.2 New pseudo-elements 390
13.1.3 Media types 390
13.1.4 Paginated media 390
13.1.5 Internationalization 390
13.1.6 Visual formatting control 391
13.1.7 Table 391
13.1.8 Generated content 391
13.1.9 Audio style sheets 391
13.1.10 New tools 391
13.2 Selecting elements 393
13.2.1 Pattern matching 393
13.2.2 Wildcards 394
13.2.3 Descendants and Descendants Selectors 394
13.2.4 Direct sibling selector 396
13.2.5 Property selectors 396
13.2.6 @Rule 396
13.2.7 Pseudo-elements 400
13.2.8 Pseudo-classes 401
13.3 Format page 403
13.3.1 Size attribute 403
13.3.2 Margin properties 403
13.3.3 Tag attributes 403
13.3.4 Page properties 403
13.3.5 Page break attribute 404
13.4 Visual formatting 405
13.4.1 Display properties 405
13.4.2 Width and height attributes 407
13.4.3 overflow attribute 407
13.4.4 clip attribute 408
13.4.5 visibility attribute 408
13.4.6 cursor attribute 409
13.4.7 Related color properties 410
13.5 Box 412
13.5.1 Contour properties 412
13.5.2 Positioning attributes 413
13.6 Counters and automatic numbering 417
13.7 Audio style sheet 419
13.7.1 Speaking attributes 420
13.7.2 Volume attribute 420
13.7.3 Pause attribute 420
13.7.4 Prompt attributes 421
13.7.5 Simultaneous playback attributes 421
13.7.6 Spatial attributes 421
13.7.7 Sound quality attributes 422
13.7.8 Voice attributes 424
13.8 Summary of this chapter 425
Chapter 14 XSL Transformation 426
14.1 What is XSL? 426
14.2 Overview of XSL transformation 428
14.2.1 Tree structure 428
14.2.2 XSL style sheet document 430
14.2.3 Where to perform XML transformation 431
14.2.4 How to use XT 432
14.2.5 Directly display XML files with XSL style sheets 434
14.3 XSL templates 436
14.3.1 xsl:apply-templates element 436
14.3.2 select feature 438
14.4 Use xsl:value-of to calculate node values 440
14.5 Using xsl:for-each to process multiple elements 442
14.6 Patterns for matching nodes 444
14.6.1 Matching the root node 444
14.6.2 Matching element names 445
14.6.3 Using the / character to match child nodes 447
14.6.4 Using the // symbol to match descendants 448
14.6.5 Matching by ID 449
14.6.6 Using @ to match attributes 449
14.6.7 Using comments() to match comments 451
14.6.8 Using pi() to match processing instructions 452
14.6.9 Using text() to match text nodes 452
14.6.10 Using the OR operator | 453
14.7 Expressions for selecting nodes 454
14.7.1 Nodal axis 454
14.7.2 Expression types 462
14.8 Default template rules 471
14.8.1 Default rules for elements 471
14.8.2 Default rules for text nodes 471
14.8.3 The meaning of the two default rules 471
14.9 Deciding what to include in the output 473
14.9.1 Using attribute value templates 473
14.9.2 Using xsl:element to insert elements into the output document 475
14.9.3 Using xsl:attribute to insert attributes into the output document 476
14.9.4 Defining property collections 477
14.9.5 Using xsl:pi to generate processing instructions 478
14.9.6 Generate comments using xsl:comment 478
14.9.7 Generating text using xsl:text 479
14.10 Use xsl:copy to copy the current node 480
14.11 Using xsl:number to count nodes 483
14.11.1 Default value 484
14.11.2 Number to string conversion 486
14.12 Sorting output elements 488
14.13 CDATA and < symbols 491
14.14 Method 493
14.15 Using xsl:variable to define constants 496
14.16 Naming Templates 496
14.16.1 Parameters 498
14.17 Removing and Preserving Whitespace 501
14.18 Select 503
14.18.1 xsl:if 503
14.18.2 xsl:choose 503
14.19 Merging multiple style sheets 505
14.19.1 Use xsl:import for input 505
14.19.2 Using xsl:include for inclusion 505
14.19.3 Use xsl:stylesheet to embed style sheets in documents 505
14.20 Summary of this chapter 508
Chapter 15 XSL Formatting Objects 508
15.1 Overview of XSL formatting language 509
15.2 Format objects and their properties 510
15.2.1 fo named domain 511
15.2.2 Formatting properties 513
15.2.3 Convert to formatted object 518
15.2.4 Using FOP 520
15.3 Page layout 522
15.3.1 Main control page 522
15.3.2 Page Sequence 525
15.4 Content 530
15.4.1 Block-level formatting objects 530
15.4.2 Inline formatting objects 531
15.4.3 Table formatting objects 532
15.4.4 Outline formatting objects 532
15.5 horizontal line 533
15.6 Graphics 534
15.7 Links 535
15.8 List 536
15.9 Form 538
15.10 characters 542
15.11 Sequence 543
15.12 Footnote 544
15.13 float 544
15.14 XSL formatting attributes 546
15.14.1 Units and data types 546
15.14.2 Message properties 548
15.14.3 Paragraph properties 548
15.14.4 Character attributes 551
15.14.5 Sentence properties 552
15.14.6 Zone attributes 555
15.14.7 Auditory properties 560
15.15 Summary of this chapter 562
Part 4 Supplementary Technologies 563
Chapter 16 XLink 563
16.1 Comparison of XLink and HTML links 563
16.2 Simple links 565
16.2.1 Description of local resources 566
16.2.2 Description of remote resources 567
16.2.3 Linking behavior 568
16.3 Extended links 575
16.4 External links 579
16.5 Extended link groups 581
16.5.1 An example 581
16.5.2 steps characteristics 583
16.6 Renaming XLink features 585
16.7 Summary of this chapter 586
Chapter 18 Named Domains 588
18.1 What is a named domain 588
18.2 Named field syntax 591
18.2.1 Definition of named fields 591
18.2.2 Multiple Named Domains 592
18.2.3 Features 595
18.2.4 Default named domains 596
18.3 Named fields in DTD 600
18.4 Summary of this chapter 601