Sams Teach Yourself Xml in 24 Hours

by
Format: Paperback
Pub. Date: 2000-08-01
Publisher(s): Sams
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $26.24

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Sams Teach Yourself XML in 24 Hours teaches you the fundamental concepts of XML using practical, hands-on examples. Rather than dwelling on dry theory, the book is filled with clear, real-world examples of how the technology can be used today. Coverage includes displaying XML files in HTML files, parsing HTML files into corresponding hierarchical tree structure, embedding XML code into an HTML file, using Extensible Style Sheets (XSL), performing queries in XSL, and building an online store.

Table of Contents

Introductionp. 1
The Basicsp. 3
Getting Started in XMLp. 5
A History of Markup Languagesp. 6
The Relationship Between HTML and XMLp. 7
Well-Formed Documents in XMLp. 8
XML as a Metalanguagep. 9
Your First XML Programp. 10
The Self-Documenting Aspects of XMLp. 14
The Impact of XMLp. 15
Summaryp. 16
QandAp. 16
Workshopp. 16
Quizp. 16
Answersp. 17
Exercisesp. 17
Using HTML Files to Display the Data of XML Filesp. 19
Dynamically Updating the Contents of HTML Tagsp. 20
Using an HTML File to Display the Data in an XML Filep. 22
Introduction to ActiveX Controlsp. 22
A Programming Example that Displays XML Datap. 22
Adding Components to an XML Filep. 26
Importing the Data from Multiple XML Filesp. 28
Summaryp. 31
QandAp. 31
Workshopp. 32
Quizp. 32
Answersp. 33
Exercisesp. 33
Objects and XMLp. 35
The Relationship Between Objects and XMLp. 36
Creating Hierarchical Trees for HTML Filesp. 38
The Node and Nodelist Objectsp. 39
Creating a Generic Data Extractor for XML Filesp. 41
Error Handlingp. 43
Summaryp. 46
QandAp. 46
Workshopp. 46
Quizp. 46
Answersp. 47
Exercisesp. 48
XML Data Islandsp. 49
The Basics of XML Data Islandsp. 50
Using Inline Code in an XML Data Islandp. 50
Importing a File into an XML Data Islandp. 53
Importing Multiple Files into XML Data Islandsp. 54
Using XML Data Islands to Update the Contents of a Nodep. 59
Using XML Data Islands to Read Files of Stored Messagesp. 64
Summaryp. 68
QandAp. 69
Workshopp. 69
Quizp. 69
Answersp. 70
Exercisesp. 70
Document Type Definitionsp. 71
Predefined Entitiesp. 72
Unicodep. 73
Parsed and Unparsed Entitiesp. 75
The Document Type Definitionp. 75
Placing Parsed Entities in the DTDp. 77
Placing Unparsed Entities in the DTDp. 78
Validating the DTDp. 79
Qualifying the Data Components in the DTDp. 80
Separating the DTD into an External Filep. 83
Overriding an External Entity Definitionp. 84
DTD-Related Properties of the xmldom Objectp. 85
QandAp. 88
Workshopp. 89
Quizp. 89
Answersp. 89
Exercisesp. 89
Beyond the Basicsp. 91
Attribute Lists and Writing Correct DTDsp. 93
The Attribute Listp. 94
Assigning Attributes to the Data Nodes in the DTDp. 97
External Entitiesp. 102
Processing Instructionsp. 104
Summaryp. 104
QandAp. 104
Workshopp. 105
Quizp. 105
Answersp. 106
Exercisesp. 106
Data Typing in XMLp. 107
An Introduction to Data Types in XMLp. 108
Examining the Data Type of a Nodep. 113
Modifying the Data Type of a Nodep. 115
Error Handlingp. 118
Recovering from Errorsp. 123
Summaryp. 123
QandAp. 124
Workshopp. 124
Quizp. 124
Answersp. 125
Exercisesp. 125
Traversing the Node Tree and Adding and Replacing Nodesp. 127
Traversing a Node Treep. 128
Adding Nodes to a Treep. 133
Replacing Nodes in a Treep. 141
Summaryp. 143
QandAp. 144
Workshopp. 144
Quizp. 144
Answersp. 145
Exercisesp. 145
Databases and XMLp. 147
The Definition of Your Basic Data Recordsp. 148
Reading the [Book] Nodes of the Catalog Databasep. 154
Using Button Clicks to Move Through the [Catalog] Databasep. 157
Summaryp. 168
QandAp. 168
Workshopp. 168
Quizp. 168
Answersp. 169
Exercisesp. 169
Using the XML Data Source Objectp. 171
The Data Source Objectp. 172
Reading Data That Has Multiple Layers of Nodesp. 179
Summaryp. 186
Workshopp. 186
QandAp. 186
Quizp. 186
Answersp. 187
Exercisesp. 187
Extensible Stylesheet Language: The Way to Create Stylesheets and Access Databasesp. 189
Introduction to Extensible Stylesheet Language (XSL)p. 191
Cascading Style Sheetsp. 192
XML Namespacesp. 195
The XSL Namespacep. 198
The Role of XSL Templates and Patterns in Web Developmentp. 202
Summaryp. 203
QandAp. 203
Workshopp. 203
Quizp. 203
Answersp. 204
Exercisesp. 204
Using an XSL Template to Read Data from an XML Filep. 205
Separating the XSL Template from the HTML Filep. 206
A Programming Examplep. 206
The XML Filep. 206
The XSL Templatep. 208
The HTML Filep. 210
Changing the Order in Which the Data Is Readp. 213
Adding Templates to Read the Data That Isn't in the [Author] or [Publisher] Nodesp. 216
The Advantages of Using Separate Filesp. 218
Summaryp. 218
QandAp. 219
Workshopp. 219
Quizp. 219
Answersp. 220
Exercisesp. 220
Using Multiple XSL Templates to Read Data from Multiple XML Filesp. 221
Working with Two Databasesp. 222
Working with the Nodes Created by the XSL Templatep. 227
Cross-Referencing the Two Databasesp. 229
Summaryp. 233
QandAp. 233
Workshopp. 234
Quizp. 234
Answersp. 235
Exercisesp. 235
Using XSL Templates to Perform Basic Database Queriesp. 237
Using Options in the XSL Templates to Create Selective Data Extractionsp. 238
Sorting the Datap. 239
Filtering the Datap. 241
Filtering by Using Comparison Operatorsp. 242
Filtering Based on XML Attributesp. 244
Summaryp. 246
QandAp. 247
Workshopp. 247
Quizp. 247
Answersp. 248
Exercisesp. 248
Using Conditional XSL Statements and Embedding Scripting Code to Perform Database Queriesp. 249
The XSL Elementsp. 250
The xsl:if Elementp. 251
An xsl:if Example That Will Read the Catalog Database and Extract the Book Records with a BestSeller Attributep. 251
An xsl:if Example That Selects Only the Records Where the BestSeller Attribute Has a Specific Valuep. 253
Using Multiple xsl:if elements in an XSL Filep. 254
The xsl:choose, xsl:when, and xsl:otherwise Elementsp. 256
An xsl:choose and xsl:when Examplep. 256
An xsl:otherwise Examplep. 260
The xsl:eval Elementp. 261
An xsl:eval Examplep. 261
An xsl:eval Example That Uses a JavaScript Functionp. 264
Summaryp. 266
QandAp. 266
Workshopp. 267
Quizp. 267
Answersp. 267
Exercisesp. 267
Using XSL Selection and Boolean Operators to Perform Database Queriesp. 269
The xsl:comment Elementp. 270
The XSL Selection Operatorsp. 272
The Double-Slash Selection Operatorp. 277
The ALL Operatorp. 278
The XSL Boolean Operatorsp. 280
Summaryp. 284
QandAp. 284
Workshopp. 285
Quizp. 285
Answersp. 285
Exercisesp. 285
Using XSL Comparison and Collection Operators and XSL Methods to Perform Database Queriesp. 287
The Equality Operatorsp. 288
The Comparison Operatorsp. 289
The all and any Operatorsp. 292
Accessing the Contents of a Node Using the value() Methodp. 293
The selectSingleNode() Methodp. 294
The end() Methodp. 295
The index() Methodp. 295
Summaryp. 296
QandAp. 296
Workshopp. 297
Quizp. 297
Answersp. 297
Exercisesp. 297
XML in e-Commerce and Other Advanced Topicsp. 299
The Document Object Modelp. 301
The Data Extraction and Node Collection Methodsp. 302
The Document Object Modelp. 303
Document Object Methodsp. 308
The Properties and Methods of the Node Objectp. 311
Properties and Methods of the nodeList Objectp. 312
Summaryp. 313
QandAp. 313
Workshopp. 314
Quizp. 314
Answersp. 314
Exercisesp. 314
The XML Schema Languagep. 315
The Basics of Schemasp. 316
The ElementType Declarationp. 317
Assigning Values to minOccurs and maxOccursp. 323
Attribute Type Declarationsp. 325
Attribute Types Supported in IEp. 328
Summaryp. 329
QandAp. 329
Workshopp. 329
Quizp. 329
Answersp. 330
Exercisesp. 330
Creating an Online Bookstorep. 331
The Structure of the [Catalog] Databasep. 332
The Database of Additional Informationp. 336
The Data Form of a Purchased Itemp. 339
The Bookstore's Opening Pagep. 339
Summaryp. 341
QandAp. 342
Workshopp. 342
Quizp. 342
Answersp. 342
Exercisesp. 343
Accessing the Databases for an Online Bookstorep. 345
Constructing the Page Used to Search the Databasep. 345
Searching the Online Book Databasep. 347
Displaying the List of Purchased Booksp. 358
Summaryp. 361
QandAp. 361
Workshopp. 361
Quizp. 361
Answersp. 362
Exercisesp. 362
Processing and Displaying Purchases in an Online Bookstorep. 363
The Client-Server Model of the World Wide Webp. 364
The Querystring Environment Variablep. 364
Using the Querystring Environment Variable on the Serverp. 366
Microsoft Personal Web Server (PWS)p. 370
Creating Text Files on the Serverp. 370
Summaryp. 372
QandAp. 373
Workshopp. 373
Quizp. 373
Answersp. 374
Exercisesp. 374
Links in XML: XLink and XPointerp. 375
Links in HTMLp. 376
Attribute Options in the [A] Tagp. 378
XLink Constructionp. 379
XLink Global Attributesp. 380
Typep. 381
Actuatep. 381
Showp. 381
Hrefp. 381
Rolep. 381
Titlep. 382
From and top. 382
Examples of XLink Global Attributesp. 382
Writing DTDs for XLink Objectsp. 384
XPointerp. 384
XPointer Absolute and Relative Location Termsp. 385
Summaryp. 389
QandAp. 389
Workshopp. 389
Quizp. 389
Answersp. 390
Exercisesp. 390
Additional Markup Languagesp. 393
Vector Markup Languagep. 394
Bitmap Images Versus Vector Graphicsp. 395
A VML Examplep. 395
Mathematical Markup Languagep. 398
A MathML Examplep. 399
Virtual Reality Modeling Languagep. 400
Real Estate Listing Markup Languagep. 401
Human Resources Management Markup Languagep. 404
VoxMLp. 405
Summaryp. 407
QandAp. 407
Workshopp. 408
Quizp. 408
Answersp. 408
Exercisesp. 408
Indexp. 409
Table of Contents provided by Syndetics. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.