Cover image for XML unleashed
Title:
XML unleashed
Author:
Morrison, Michael, 1970-
Publication Information:
[Indianapolis, IN] : Sams, [2000]

©2000
Physical Description:
xxii, 960 pages : illustrations ; 24 cm + 1 computer optical disc (4 3/4 in.)
Language:
English
ISBN:
9780672315145
Format :
Book

CD-Rom

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.76.H94 X455 2000 TEXT Book and Software Set Central Closed Stacks
Searching...

On Order

Summary

Summary

XML Unleashed is a complete and comprehensive reference for sophisticated Web developers that covers every possible use of XML, from creating Web documents to building sophisticated Web applications. It covers all aspects of XML technology, from DTDs, XSL, and X Pointers to manipulating XML with Java and JavaScript. See hundreds of professional programming techniques as well as code for more than 15 real-world XML applications involving e-commerce, database access, Web management, real estate, and healthcare. This book also includes reference material on SMIL, the XML-based language for Web multimedia.


Author Notes

Michael Morrison is a recognized name in this market. He has authored Java 1.1 Unleashed, Presenting JavaBeans and Teach Yourself Java in 21 Days.


Table of Contents

Introductionp. 1
Part I Theory Behind the Practicep. 7
1 An XML Refresherp. 9
A Brief History Lessonp. 10
Pondering XMLp. 12
XML Syntax Fundamentalsp. 14
The State of XMLp. 21
Summaryp. 24
2 Modeling Data: Document Type Definitions (DTD) and Schemasp. 25
XML Data Modeling Basicsp. 26
Modeling Data with DTDsp. 30
Modeling Data with XML Schemasp. 32
Comparing the Two Data Modeling Approachesp. 35
Summaryp. 37
3 DTD Fundamentalsp. 39
DTDs and Document Structurep. 40
Understanding Elements and Attributesp. 47
Working with Elementsp. 50
Working with Attributesp. 56
Creating a Valid Document from a DTDp. 60
Summaryp. 62
4 Digging Deeper into DTDsp. 63
Entities and Document Structurep. 64
Characters and Entitiesp. 65
Working with Entitiesp. 68
External Entitiesp. 72
Declaring Notationsp. 76
Referencing Entities in Documentsp. 77
Using Conditional Sectionsp. 80
Summaryp. 81
5 XML Schema Basicsp. 83
Getting to Know XML Schemap. 84
Inside the XML Schema Vocabularyp. 87
XML Schema Data Typesp. 100
Creating Documents from XML Schemasp. 101
Summaryp. 104
6 XML Schema Construction Techniquesp. 105
Converting DTDs to Schemasp. 106
Validating Documents Against Schemasp. 111
Generating Schemas with XML Authorityp. 114
Understanding Content Modelsp. 118
The Future of XML Schemap. 120
Summaryp. 121
7 Utilizing XML Namespacesp. 123
Namespace Basicsp. 124
Declaring Namespacesp. 126
Referencing Schemas as Namespacesp. 128
Using Namespaces in Schemasp. 136
Namespaces and the Document Object Modelp. 139
Summaryp. 140
Part II Formatting XML Documentsp. 233
8 Debating Style: eXtensible Style Language (XSL) and Cascading Style Sheets (CSS)p. 143
Style Sheet Basicsp. 144
The Evlution of CSS and XSLp. 147
Comparing XSL and CSSp. 151
Using XSL and CSS Togetherp. 152
Summaryp. 153
9 Formatting XML with Cascading Style Sheets (CSS)p. 155
A CSS Primerp. 156
Inside a CSS Style Sheetp. 157
CSS Style Propertiesp. 159
Creating CSS Style Sheetsp. 163
Summaryp. 172
10 Understanding the eXtensible Style Language (XSL)p. 173
Processing an XSL Style Sheetp. 174
The Architecture of XSLp. 175
Summaryp. 179
11 Creating XSL Style Sheetsp. 81
XSL and Internet Explorer 5.0p. 182
Inside XSL Style Sheetsp. 183
XSLT Template Constructsp. 186
Developing XSL Style Sheetsp. 188
Summaryp. 202
Part III Processing XML Documentsp. 835
12 XML Processing Basicsp. 205
Processing an XML Documentp. 206
Why Parse XML?p. 207
Why Validate an XML Document?p. 208
Comparing the Two Approaches to Parsing XMLp. 219
Parsers as Objectsp. 226
Summaryp. 226
13 Parsing XML with Javap. 227
The Anatomy of XML Parser Libraries in Javap. 228
Tools of the Tradep. 230
Parsing an XML Document with Javap. 238
Summaryp. 258
14 Parsing XML with C++p. 259
Why a Parser in C?p. 260
The Expat Parserp. 261
IBM's XML Parser for C++p. 263
Microsoft Parsers for Cp. 266
The MSXML Parserp. 267
Building a Parser Interface with MSXMLp. 274
Bugs in the MSXML Parserp. 280
Using C Parsers in Document and DTD Designp. 281
Summaryp. 284
15 Utilizing the Document Object Model (DOM)p. 285
W3C and the XML DOMp. 286
Document Object Modelsp. 288
Document Trees and Parse Treesp. 289
W3C DOM Basicsp. 290
DOM Interfacesp. 291
Nodes and Objectsp. 292
Accessing Nodes in DOMp. 293
Data Types Returned by DOM Methodsp. 294
The Document Interfacep. 296
The DocumentFragment Interfacep. 302
The Node Interfacep. 302
The NodeList Interfacep. 312
The NamedNodeMap Interfacep. 312
The CharacterData Interfacep. 314
The Attr Interfacep. 318
The Element Interfacep. 318
The Minor DOM Interfacesp. 321
Implementing DOMp. 325
Adding DOM Support to Applicationsp. 326
Scripting and DOMp. 327
DOM Support in Geckop. 329
Saving Documents Persistentlyp. 329
Summaryp. 331
16 Working with the SAX API in Javap. 333
The Structure of SAX 1.0p. 334
The Basics of the SAX 1.0 Packagep. 335
Example SAX Applicationsp. 340
Other Core Features of SAXp. 345
Advanced Features of SAXp. 355
SAX 2.0p. 360
Summaryp. 362
Part IV XML and the Webp. 835
17 Browsing XMLp. 365
XML and the State of Web Browsersp. 366
Microsoft Internet Explorerp. 367
Netscape Navigator (Mozilla)p. 373
Other Browsersp. 375
Summaryp. 377
18 XHTML: When XML and HTML Collidep. 379
Why XHTML?p. 380
Differences Between XHTML and HTML 4.0p. 382
XHTML and Document Validityp. 383
Creating XHTML Documentsp. 386
Converting HTML Documents to XHTMLp. 388
Summaryp. 395
19 Linking Documents with XLink and XPointerp. 397
Linking the HTML Wayp. 398
Beyond HTML Linkingp. 399
The W3C's Linking Specificationsp. 402
Inside XLinkp. 407
Inside XPointerp. 411
Summaryp. 415
20 Scripting XMLp. 417
Why Script XML?p. 418
XML Scripting Optionsp. 421
A JavaScript Primerp. 424
Revisiting the XML DOMp. 427
Developing XML Scriptsp. 434
Summaryp. 447
Part V Manipulating Data with XMLp. 835
21 The XML Data Source Object (DSO)p. 451
Databases and Remote Data Accessp. 452
Remote Data Services and DSOsp. 456
Understanding the Tabular Data Control (TDC)p. 457
XML DSOsp. 469
The XML Java DSOp. 470
The XML C++ DSOp. 470
Using XML Islandsp. 473
Scripting the XML DSOp. 475
XML Data Bindingp. 477
Data Binding with Complex XMLp. 477
Summaryp. 480
22 Using XSL Patterns and XQLp. 481
Requirements of a Query Languagep. 482
XML Query Language (XQL)p. 484
The Syntax of XQLp. 485
XQL: Implementations and Other Resourcesp. 495
XSLT Patternsp. 496
Using DOMp. 498
Hand-Rolled Functionsp. 501
Summaryp. 503
23 Accessing Databases with XML and ASPp. 505
Uses of XML in Database Management Systemsp. 506
Personal Web Server (PWS) and Active Server Pages (ASP)p. 508
The Native ASP Objectsp. 512
The Scripting objectsp. 514
ActiveX and DOM Objectsp. 517
Understanding Databasesp. 518
Connecting to a Database with ASPp. 519
Reading Data into an XML Streamp. 525
Using XML as a Data Storep. 529
Accessing Data from an XML Data Storep. 533
XML vs. RDBMSp. 535
Summaryp. 537
24 Linking Business Data with WIDLp. 539
A Business Use of WIDLp. 541
Introduction to WIDL Version 2.0p. 549
WIDL Version 3.0p. 555
Summaryp. 556
25 EDI and XMLp. 557
An EDI Primerp. 558
What's Wrong with EDI?p. 561
XML Approaches to EDIp. 563
Summaryp. 571
Part VI XML Toolsp. 573
26 XML Authoring and Content Management Toolsp. 575
Types of XML Toolsp. 576
XML Authoring Toolsp. 577
XML Content Management Toolsp. 582
Other XML Toolsp. 584
Summaryp. 587
27 Migrating Legacy Data with XML Generatorp. 589
XML Generator Fundamentalsp. 590
Using the XML Generator Applicationp. 591
Generating XML Documentsp. 595
Summaryp. 604
28 The XFA Scripting Systemp. 605
XFA Scripting Basicsp. 606
The Relationship Between XFA and XMLp. 608
XFA Data Typesp. 610
The XFA Vocabularyp. 611
Writing XFA Scriptsp. 621
XFA and DTDsp. 627
Summaryp. 633
29 Generating DTDs with DDbEp. 635
Understanding DDbEp. 636
Inside the DDbE Command-Line Toolp. 637
Generating DTDsp. 639
Using the DDbE Libraryp. 645
Summaryp. 646
30 Getting to Know IBM's XML Toolsetp. 647
Peering Inside the Tool Chestp. 648
Using Xplorer and XML Viewerp. 649
Using the XML Translator Generatorp. 654
Using the XML Diff and Merge Toolp. 664
Summaryp. 667
Part VII Exploring XML Vocabulariesp. 670
31 Making Headlines with XMLNewsp. 671
Understanding XMLNewsp. 672
Inside the XMLNews-Story Vocabularyp. 674
Creating News Stories with XMLNewsp. 686
Summaryp. 690
32 Integrating Multimedia Objects with SMILp. 691
SMIL Basicsp. 692
Inside the SMIL Vocabularyp. 694
Creating SMIL Contentp. 704
SMIL Players and Authoring Toolsp. 710
SMIL and HTML+TIMEp. 716
Summaryp. 718
33 Pushing Web Content with CDFp. 719
Active Channels Basicsp. 720
Using Active Channelsp. 722
Inside the CDF Vocabularyp. 727
Creating Channels with CDFp. 734
The CDF Generator Toolp. 736
Summaryp. 740
34 Describing Vector Graphics with VML and SVGp. 741
The Significance of Structured Vector Graphicsp. 742
XML Vector Graphics Offeringsp. 744
Inside the VML Vocabularyp. 747
Inside the SVG Vocabularyp. 760
Summaryp. 768
35 Virtual Reality and 3DMLp. 769
3DML Basicsp. 770
Inside the 3DML Vocabularyp. 772
Creating a 3DML Worldp. 785
Embedding 3DML Worlds in Web Pagesp. 788
The Spotnik 3DML Spot Builder Toolp. 790
Summaryp. 792
36 Mathematically Speaking with MathMLp. 793
MathML Basicsp. 794
Inside the MathML Vocabularyp. 795
Creating MathML Contentp. 804
MathML Toolsp. 807
Summaryp. 813
37 Managing Privacy with P3Pp. 815
P3P Basicsp. 816
Getting Up to Speed with RDFp. 817
Inside the P3P Harmonized Vocabularyp. 819
Creating a Privacy Policy with P3Pp. 824
The Privacy Wizardp. 825
Summaryp. 832
38 Listing Real Estate with RELMLp. 833
RELML Basicsp. 834
Inside the RELML Vocabularyp. 836
Creating RELML Contentp. 841
RELML and OpenMLSp. 844
Summaryp. 849
39 Managing Human Resources with HRMMLp. 851
HRMML Basicsp. 852
Inside the HRMML Vocabularyp. 854
Assessing the Structure of HRMML Resumesp. 868
Creating Resumes with HRMMLp. 873
Viewing HRMML Resumesp. 877
Summaryp. 882
40 Interactive Speech and VoxMLp. 883
VoxML Basicsp. 884
Inside the VoxML Vocabularyp. 885
VoxML Toolsp. 893
Creating a Voice Application with VoxMLp. 895
Summaryp. 902
Part III Appendixesp. 903
A A Guide to XML Acronymsp. 905
General XML Resourcesp. 912
XML Specificationsp. 913
XML Browsersp. 913
XML Toolsp. 914
XML Vocabulariesp. 917
Other Resourcesp. 918
B XML Resourcesp. 911
Indexp. 918

Google Preview