
Sams Teach Yourself Xml in 24 Hours
by Ashbacher, Charles-
This Item Qualifies for Free Shipping!*
*Excludes marketplace orders.
Rent Book
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
Table of Contents
Introduction | p. 1 |
The Basics | p. 3 |
Getting Started in XML | p. 5 |
A History of Markup Languages | p. 6 |
The Relationship Between HTML and XML | p. 7 |
Well-Formed Documents in XML | p. 8 |
XML as a Metalanguage | p. 9 |
Your First XML Program | p. 10 |
The Self-Documenting Aspects of XML | p. 14 |
The Impact of XML | p. 15 |
Summary | p. 16 |
QandA | p. 16 |
Workshop | p. 16 |
Quiz | p. 16 |
Answers | p. 17 |
Exercises | p. 17 |
Using HTML Files to Display the Data of XML Files | p. 19 |
Dynamically Updating the Contents of HTML Tags | p. 20 |
Using an HTML File to Display the Data in an XML File | p. 22 |
Introduction to ActiveX Controls | p. 22 |
A Programming Example that Displays XML Data | p. 22 |
Adding Components to an XML File | p. 26 |
Importing the Data from Multiple XML Files | p. 28 |
Summary | p. 31 |
QandA | p. 31 |
Workshop | p. 32 |
Quiz | p. 32 |
Answers | p. 33 |
Exercises | p. 33 |
Objects and XML | p. 35 |
The Relationship Between Objects and XML | p. 36 |
Creating Hierarchical Trees for HTML Files | p. 38 |
The Node and Nodelist Objects | p. 39 |
Creating a Generic Data Extractor for XML Files | p. 41 |
Error Handling | p. 43 |
Summary | p. 46 |
QandA | p. 46 |
Workshop | p. 46 |
Quiz | p. 46 |
Answers | p. 47 |
Exercises | p. 48 |
XML Data Islands | p. 49 |
The Basics of XML Data Islands | p. 50 |
Using Inline Code in an XML Data Island | p. 50 |
Importing a File into an XML Data Island | p. 53 |
Importing Multiple Files into XML Data Islands | p. 54 |
Using XML Data Islands to Update the Contents of a Node | p. 59 |
Using XML Data Islands to Read Files of Stored Messages | p. 64 |
Summary | p. 68 |
QandA | p. 69 |
Workshop | p. 69 |
Quiz | p. 69 |
Answers | p. 70 |
Exercises | p. 70 |
Document Type Definitions | p. 71 |
Predefined Entities | p. 72 |
Unicode | p. 73 |
Parsed and Unparsed Entities | p. 75 |
The Document Type Definition | p. 75 |
Placing Parsed Entities in the DTD | p. 77 |
Placing Unparsed Entities in the DTD | p. 78 |
Validating the DTD | p. 79 |
Qualifying the Data Components in the DTD | p. 80 |
Separating the DTD into an External File | p. 83 |
Overriding an External Entity Definition | p. 84 |
DTD-Related Properties of the xmldom Object | p. 85 |
QandA | p. 88 |
Workshop | p. 89 |
Quiz | p. 89 |
Answers | p. 89 |
Exercises | p. 89 |
Beyond the Basics | p. 91 |
Attribute Lists and Writing Correct DTDs | p. 93 |
The Attribute List | p. 94 |
Assigning Attributes to the Data Nodes in the DTD | p. 97 |
External Entities | p. 102 |
Processing Instructions | p. 104 |
Summary | p. 104 |
QandA | p. 104 |
Workshop | p. 105 |
Quiz | p. 105 |
Answers | p. 106 |
Exercises | p. 106 |
Data Typing in XML | p. 107 |
An Introduction to Data Types in XML | p. 108 |
Examining the Data Type of a Node | p. 113 |
Modifying the Data Type of a Node | p. 115 |
Error Handling | p. 118 |
Recovering from Errors | p. 123 |
Summary | p. 123 |
QandA | p. 124 |
Workshop | p. 124 |
Quiz | p. 124 |
Answers | p. 125 |
Exercises | p. 125 |
Traversing the Node Tree and Adding and Replacing Nodes | p. 127 |
Traversing a Node Tree | p. 128 |
Adding Nodes to a Tree | p. 133 |
Replacing Nodes in a Tree | p. 141 |
Summary | p. 143 |
QandA | p. 144 |
Workshop | p. 144 |
Quiz | p. 144 |
Answers | p. 145 |
Exercises | p. 145 |
Databases and XML | p. 147 |
The Definition of Your Basic Data Records | p. 148 |
Reading the [Book] Nodes of the Catalog Database | p. 154 |
Using Button Clicks to Move Through the [Catalog] Database | p. 157 |
Summary | p. 168 |
QandA | p. 168 |
Workshop | p. 168 |
Quiz | p. 168 |
Answers | p. 169 |
Exercises | p. 169 |
Using the XML Data Source Object | p. 171 |
The Data Source Object | p. 172 |
Reading Data That Has Multiple Layers of Nodes | p. 179 |
Summary | p. 186 |
Workshop | p. 186 |
QandA | p. 186 |
Quiz | p. 186 |
Answers | p. 187 |
Exercises | p. 187 |
Extensible Stylesheet Language: The Way to Create Stylesheets and Access Databases | p. 189 |
Introduction to Extensible Stylesheet Language (XSL) | p. 191 |
Cascading Style Sheets | p. 192 |
XML Namespaces | p. 195 |
The XSL Namespace | p. 198 |
The Role of XSL Templates and Patterns in Web Development | p. 202 |
Summary | p. 203 |
QandA | p. 203 |
Workshop | p. 203 |
Quiz | p. 203 |
Answers | p. 204 |
Exercises | p. 204 |
Using an XSL Template to Read Data from an XML File | p. 205 |
Separating the XSL Template from the HTML File | p. 206 |
A Programming Example | p. 206 |
The XML File | p. 206 |
The XSL Template | p. 208 |
The HTML File | p. 210 |
Changing the Order in Which the Data Is Read | p. 213 |
Adding Templates to Read the Data That Isn't in the [Author] or [Publisher] Nodes | p. 216 |
The Advantages of Using Separate Files | p. 218 |
Summary | p. 218 |
QandA | p. 219 |
Workshop | p. 219 |
Quiz | p. 219 |
Answers | p. 220 |
Exercises | p. 220 |
Using Multiple XSL Templates to Read Data from Multiple XML Files | p. 221 |
Working with Two Databases | p. 222 |
Working with the Nodes Created by the XSL Template | p. 227 |
Cross-Referencing the Two Databases | p. 229 |
Summary | p. 233 |
QandA | p. 233 |
Workshop | p. 234 |
Quiz | p. 234 |
Answers | p. 235 |
Exercises | p. 235 |
Using XSL Templates to Perform Basic Database Queries | p. 237 |
Using Options in the XSL Templates to Create Selective Data Extractions | p. 238 |
Sorting the Data | p. 239 |
Filtering the Data | p. 241 |
Filtering by Using Comparison Operators | p. 242 |
Filtering Based on XML Attributes | p. 244 |
Summary | p. 246 |
QandA | p. 247 |
Workshop | p. 247 |
Quiz | p. 247 |
Answers | p. 248 |
Exercises | p. 248 |
Using Conditional XSL Statements and Embedding Scripting Code to Perform Database Queries | p. 249 |
The XSL Elements | p. 250 |
The xsl:if Element | p. 251 |
An xsl:if Example That Will Read the Catalog Database and Extract the Book Records with a BestSeller Attribute | p. 251 |
An xsl:if Example That Selects Only the Records Where the BestSeller Attribute Has a Specific Value | p. 253 |
Using Multiple xsl:if elements in an XSL File | p. 254 |
The xsl:choose, xsl:when, and xsl:otherwise Elements | p. 256 |
An xsl:choose and xsl:when Example | p. 256 |
An xsl:otherwise Example | p. 260 |
The xsl:eval Element | p. 261 |
An xsl:eval Example | p. 261 |
An xsl:eval Example That Uses a JavaScript Function | p. 264 |
Summary | p. 266 |
QandA | p. 266 |
Workshop | p. 267 |
Quiz | p. 267 |
Answers | p. 267 |
Exercises | p. 267 |
Using XSL Selection and Boolean Operators to Perform Database Queries | p. 269 |
The xsl:comment Element | p. 270 |
The XSL Selection Operators | p. 272 |
The Double-Slash Selection Operator | p. 277 |
The ALL Operator | p. 278 |
The XSL Boolean Operators | p. 280 |
Summary | p. 284 |
QandA | p. 284 |
Workshop | p. 285 |
Quiz | p. 285 |
Answers | p. 285 |
Exercises | p. 285 |
Using XSL Comparison and Collection Operators and XSL Methods to Perform Database Queries | p. 287 |
The Equality Operators | p. 288 |
The Comparison Operators | p. 289 |
The all and any Operators | p. 292 |
Accessing the Contents of a Node Using the value() Method | p. 293 |
The selectSingleNode() Method | p. 294 |
The end() Method | p. 295 |
The index() Method | p. 295 |
Summary | p. 296 |
QandA | p. 296 |
Workshop | p. 297 |
Quiz | p. 297 |
Answers | p. 297 |
Exercises | p. 297 |
XML in e-Commerce and Other Advanced Topics | p. 299 |
The Document Object Model | p. 301 |
The Data Extraction and Node Collection Methods | p. 302 |
The Document Object Model | p. 303 |
Document Object Methods | p. 308 |
The Properties and Methods of the Node Object | p. 311 |
Properties and Methods of the nodeList Object | p. 312 |
Summary | p. 313 |
QandA | p. 313 |
Workshop | p. 314 |
Quiz | p. 314 |
Answers | p. 314 |
Exercises | p. 314 |
The XML Schema Language | p. 315 |
The Basics of Schemas | p. 316 |
The ElementType Declaration | p. 317 |
Assigning Values to minOccurs and maxOccurs | p. 323 |
Attribute Type Declarations | p. 325 |
Attribute Types Supported in IE | p. 328 |
Summary | p. 329 |
QandA | p. 329 |
Workshop | p. 329 |
Quiz | p. 329 |
Answers | p. 330 |
Exercises | p. 330 |
Creating an Online Bookstore | p. 331 |
The Structure of the [Catalog] Database | p. 332 |
The Database of Additional Information | p. 336 |
The Data Form of a Purchased Item | p. 339 |
The Bookstore's Opening Page | p. 339 |
Summary | p. 341 |
QandA | p. 342 |
Workshop | p. 342 |
Quiz | p. 342 |
Answers | p. 342 |
Exercises | p. 343 |
Accessing the Databases for an Online Bookstore | p. 345 |
Constructing the Page Used to Search the Database | p. 345 |
Searching the Online Book Database | p. 347 |
Displaying the List of Purchased Books | p. 358 |
Summary | p. 361 |
QandA | p. 361 |
Workshop | p. 361 |
Quiz | p. 361 |
Answers | p. 362 |
Exercises | p. 362 |
Processing and Displaying Purchases in an Online Bookstore | p. 363 |
The Client-Server Model of the World Wide Web | p. 364 |
The Querystring Environment Variable | p. 364 |
Using the Querystring Environment Variable on the Server | p. 366 |
Microsoft Personal Web Server (PWS) | p. 370 |
Creating Text Files on the Server | p. 370 |
Summary | p. 372 |
QandA | p. 373 |
Workshop | p. 373 |
Quiz | p. 373 |
Answers | p. 374 |
Exercises | p. 374 |
Links in XML: XLink and XPointer | p. 375 |
Links in HTML | p. 376 |
Attribute Options in the [A] Tag | p. 378 |
XLink Construction | p. 379 |
XLink Global Attributes | p. 380 |
Type | p. 381 |
Actuate | p. 381 |
Show | p. 381 |
Href | p. 381 |
Role | p. 381 |
Title | p. 382 |
From and to | p. 382 |
Examples of XLink Global Attributes | p. 382 |
Writing DTDs for XLink Objects | p. 384 |
XPointer | p. 384 |
XPointer Absolute and Relative Location Terms | p. 385 |
Summary | p. 389 |
QandA | p. 389 |
Workshop | p. 389 |
Quiz | p. 389 |
Answers | p. 390 |
Exercises | p. 390 |
Additional Markup Languages | p. 393 |
Vector Markup Language | p. 394 |
Bitmap Images Versus Vector Graphics | p. 395 |
A VML Example | p. 395 |
Mathematical Markup Language | p. 398 |
A MathML Example | p. 399 |
Virtual Reality Modeling Language | p. 400 |
Real Estate Listing Markup Language | p. 401 |
Human Resources Management Markup Language | p. 404 |
VoxML | p. 405 |
Summary | p. 407 |
QandA | p. 407 |
Workshop | p. 408 |
Quiz | p. 408 |
Answers | p. 408 |
Exercises | p. 408 |
Index | p. 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.