or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $1.91 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition)
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition) [Paperback]

Michael Morrison (Author)
2.0 out of 5 stars  See all reviews (3 customer reviews)

List Price: $39.99
Price: $26.25 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.74 (34%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 5 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback $26.25  

Book Description

067232797X 978-0672327971 November 24, 2005 3

The third edition of Sams Teach Yourself XML in 24 Hours, Complete Starter Kit is everything you need to know about the XML language and how to use it in practical, innovative applications. Understanding the syntax of XML is only a small part of the learning process; understanding how to apply it is the larger part of the learning process, and is the primary focus of this book. It covers a broad range of topics, and wil show you how to use XML to mine data on the web, how to use it to interact with existing data services such as iTunes and Google, and how to use it in applications such as e-books, online speech synthesis, and multimedia. Sams Teach Yourself XML in 24 Hours, Complete Starter Kit, Third Edition will teach you what you need to know to get up and running with XML and more importantly, how to do cool things with it!


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with Learning SQL $23.99

Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition) + Learning SQL
  • This item: Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition)

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Learning SQL

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

About the Author

Michael Morrison is a writer and developer with extensive experience with XML. He has authored numerous computer and Web technology books, including several XML books such as Sams Teach Yourself HTML and XHTML in 24 Hours, 6th Edition, Faster Smarter HTML and XML, Sams Teach Yourself XML in 24 Hours, 2nd Edition, and XML Unleashed. Michael has personally developed several content-driven Web sites using XML technologies, including his personal Web site at http://www.michaelmorrison.com.

Excerpt. © Reprinted by permission. All rights reserved.

Introduction

Introduction

Of all the software technologies that have come and gone in the relatively short time since we all plugged in to the Web, few have been as far-reaching yet misunderstood as XML. Even with its catchy name that conjures up images of extreme sports, the true nature of XML continues to elude many technical people. The reason has to do with the fact that XML is very much a behind-the-scenes technology that helps to ensure that data is structured in an orderly fashion. There are very few situations where an end-user can see XML at work in a practical application. In this way, XML is a lot like residential building codes. When a house is built, thousands of building codes are used to guide contractors so that the house goes up safe and sound. As a homeowner, it's difficult to look at a finished house and grasp how all these building codes impacted the wood, shingles, and brick that you can see and feel. The building codes are abstract in a sense that you can't touch them, but they play a critical role in the construction process all the same. XML plays a similar role in software, including web sites, operating systems, and distributed applications.

I often hear people describe XML as "the new HTML," which sounds good but is not very accurate. XML, unlike HTML, is an extremely broad data-structuring standard that has implications far beyond web pages. For example, consider this question: HTML is to web pages as XML is to what? This is a difficult question to answer because XML isn't really geared toward any one solution. Instead, XML provides the framework for creating customized solutions to a wide range of problems. This is made possible through XML-based markup languages, which are custom markup languages that you create using XML. If you want to chart the statistics of your child's baseball team, you could create your own Little League Markup Language, or LLML, which includes custom tags and attributes for keeping up with important stats such as hits, runs, errors, and parental outbursts. The high degree of structure in your Little League data would allow it to be easily sorted, manipulated, and displayed according to your needs; the data would have the mathematical flexibility of a spreadsheet along with the visual accessibility of a web page. XML makes all this possible.

Maybe you have bigger plans for your XML knowledge than just tracking stats for a Little League team. If so, you'll be glad to know that XML is the enabling technology behind all kinds of interesting software applications. Practically all of the big Internet players have invested heavily in XML. As an example, Amazon.com uses XML to expose its product data so that developers can build custom shopping applications. Another interesting application of XML that has caused quite a stir recently is Google Maps, which is Google's innovative online mapping application. Google Maps relies on XML for map data. In fact, in Hour 15 of this book, "Using XML to Hack Google Maps," you learn how to "hack" Google Maps to use your own XML-based maps. One last example of how XML may have sneakily entered your life already is iTunes, Apple's incredibly popular online music store. iTunes uses XML to store information about your music library locally on your computer. With a little bit of effort, you can access your iTunes music library via XML and view or manipulate it any way you choose. This task is covered in Hour 13, "Access Your iTunes Music Library via XML."

XML is worth learning because it is an excellent back-end technology for storing and sharing data in a highly structured manner. Another reason for learning XML has to do much more directly with the web: XML is very much shaping the future of HTML. As you may know, HTML is somewhat unstructured in the sense that web developers take great liberties with how they use HTML code. Although this isn't entirely HTML's fault, HTML shares a considerable amount of the blame because it doesn't have the structured set of rules that are part of XML. In an attempt to add structure and consistency to the Web, a reformulated version of HTML known as XHTML was created that adds the structure of XML to HTML. It may still be quite a while before XHTML fully unseats HTML, but web developers are busy making the move to a more structured Web thanks to XHTML.

This book, in many ways, is a testament to the fact that XML is a technology for both the present and the future. The majority of the book focuses on XML in the present and how it can be used to do interesting things today. My goal was to strike a careful balance between giving you practical knowledge for the present along with some foreshadowing of what might lie ahead for XML.

How This Book Is Structured

As the title suggests, this book is organized into 24 lessons that are intended to take about an hour each to digest. Don't worry, there are no penalties if you take more than an hour to finish a given lesson, and there are no special prizes if you speed through them faster! The hours themselves are grouped together into five parts, each of which tackles a different facet of XML:

  • Part I, "XML Essentials"—In this part, you get to know the XML language and what it has to offer in terms of structuring data. You also learn how to create XML documents.
  • Part II, "Defining XML Data"—In this part, you will find out how to define the structure of XML documents using schemas. You learn about the two major types of schemas (DTDs and XSDs), as well as how to use namespaces and how to validate XML documents. You even learn about a real XML language, SVG, along with how to use it to create vector graphics for the web.
  • Part III, "Formatting and Displaying XML Documents"—In this part, you will learn how to format XML content with style sheets so that it can be displayed. XML formatting is explored using several different style sheet technologies—CSS, XSLT, and XSL-FO. This part of the book also guides you through some interesting practical applications, including how to access your iTunes music library using XML and how to create your own XML-based maps for Google Maps.
  • Part IV, "Processing and Managing XML Data"—In this part, you will find out how to process XML documents and manipulate their contents using the Document Object Model (DOM), which provides access to the inner workings of XML documents. You will also learn about SAX, which is a popular programming interface used to access XML documents. Databases are also tackled, including how to access data from a database via XML. And finally, this part of the book shows you how to use XML to mine Google for information.
  • Part V, "XML's Impact on HTML"—In this part, you will explore XML's relationship to HTML and the Web. You will learn about XHTML, which is the merger of XML and HTML, along with advanced XML linking technologies. You will also learn how XML is being used to provide a means of creating web pages for wireless devices via a language called WML, as well as how to syndicate the web using RSS news feeds.

What You'll Need

This book assumes you have some familiarity with a markup language, such as HTML. You don't have to be an HTML guru by any means, but it definitely helps if you understand the difference between a tag and an attribute. Even if you don't, you should be able to tackle XML without too much trouble. It will also help if you have experience using a web browser. Even though there are aspects of XML that reach beyond the web, this book focuses a great deal on using web browsers to view and test XML code. For this reason, I encourage you to download and install the latest release of a major web browser such as Internet Explorer, Mozilla Firefox, Opera, or Safari.

In addition to web browsers, there are a few other tools mentioned throughout the book that you may consider downloading or purchasing based upon your individual needs. At the very least, you'll need a good text editor to edit XML documents. Windows Notepad is sufficient if you're working in a Windows environment, and I'm sure you can find a suitable equivalent for other environments. If you want to check into a more full-featured XML editor, it certainly won't hurt you. I mention several editors to consider in Hour 2 of the book, "Creating XML Documents." That's really all you need; a web browser and a trusty editor will carry you a long way toward becoming proficient in XML.

How to Use This Book

In code listings, line numbers have been added for reference purposes. These line numbers aren't part of the code. The code used in this book is also on this book's web site at http://www.samspublishing.com.

This book uses different typefaces to differentiate between code and regular English. Text that you type and text that appears on your screen is presented in monospace type.

It will look like this to mimic the way text looks on your screen.

Placeholders for variables and expressions appear in monospace italic font. You should replace the placeholder with the specific value it represents.

In addition, the following elements appear throughout the book:


Note - Notes provide you with comments and asides about the topic at hand.



© Copyright Pearson Education. All rights reserved.


Product Details

  • Paperback: 576 pages
  • Publisher: Sams; 3 edition (November 24, 2005)
  • Language: English
  • ISBN-10: 067232797X
  • ISBN-13: 978-0672327971
  • Product Dimensions: 9 x 7.5 x 1.2 inches
  • Shipping Weight: 2 pounds (View shipping rates and policies)
  • Average Customer Review: 2.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Best Sellers Rank: #294,656 in Books (See Top 100 in Books)

More About the Author

Michael Morrison is a writer, developer, toy inventor, and author of a variety of computer technology books and interactive web-based courses. In addition to his primary profession as a writer and freelance nerd for hire, Michael is the creative lead at Stalefish Labs (http://www.stalefishlabs.com), an entertainment company he co-founded with his wife, Masheed. The first commercial debut for Stalefish Labs is a traditional social/trivia game called Tall Tales: The Game of Legends and Creative One-Upmanship. When not glued to his computer, playing hockey, skateboarding, or watching movies with his wife, Michael enjoys hanging out by his koi pond while he daydreams about new Web creations. You can visit Michael on the Web and discuss this book at http://www.michaelmorrison.com/.

 

Customer Reviews

3 Reviews
5 star:    (0)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
2.0 out of 5 stars (3 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

2 of 2 people found the following review helpful:
4.0 out of 5 stars Easy introduction to XML, July 25, 2008
By 
W. Keenan (Lausanne, Switzerland) - See all my reviews
(REAL NAME)   
This review is from: Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition) (Paperback)
Fortunately I read this book before reading the two previous reviews. In the same way that no one should expect to be fluent in a foreign language after 24 hours, it takes longer to fully master XML. As an introductory text, Michael Morrison's "Learning XML in 24 hours" is accessible and personable. Maybe the other reviewers didn't appreciate his sense of humour, but his book is informative and fun.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 19 people found the following review helpful:
1.0 out of 5 stars Poorly written., March 23, 2006
This review is from: Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition) (Paperback)
The reason for 1 star is that i cannot put zero stars.

The book tends to ramble on and on and is very light in actual examples that matter. The same concepts are repeated over and over again.

It could of used many more examples rather than blabbing on and on about the same thing. Yet, an entire chapter is dedicated to SVG? Not a very focused book.

Needs a lot of editing.

Whole heartedly not recommended.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 41 people found the following review helpful:
1.0 out of 5 stars worst ever xml book!, March 5, 2006
By 
Tante Waileka "The Truth shall Set Ye Free" (San Francisco - Atlanta - Honolulu - Chicago) - See all my reviews
This review is from: Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition) (Paperback)
I'm only giving this 1 star because Amazon won't let readers give negative stars. The chapter that contains "a quick history of html" is so far off base, I wouldn't read the rest of this crappy book. The 'author' (I use that word very hesitantly) claims that HTML is 'a simplified version of SGML'. There was a bumpersticker in the early 70s that read "Question Authority", and boy! does it apply to this book! The book writer is NO authority on SGML nor on HTML, thus HOW could he be expected to be any kind of authority on XML? HTML is a DTD WITHIN SGML. It was not developed by 'physicists' to create 'web pages' but as part of Timothy Berners-Lee WWW project for collaborative sharing of documents. While it is true that Timothy began working on the pre-cursor to HTML while working as a junior programmer-consultant for CERN (which is a Physics lab) he was NEVER a physicist, but a designer of typographic-programs (at the time). BY THE WAY, XML is a SUBSET of SGML. SGML is NOT an 'overcomplicated' language, unless you happen to be a twit who can't program to begin with. That's like comparing VB to C. VB is for lazy programmers. C is a far more versatile programming language. It is the same with SGML. XML is to SGML like 'reader's digest' book versions are to the real book, or maybe like those synopsis books that kids used to use for book reviews of books they were too undisciplined and unethical to read.

Don't waste your money on this book, and maybe it's time to forget all about Sams ' in 24 hours' books. CR*P.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
online music game, veggie filter, element type selector, sitemap file, svg element, style sheet technology, xquery version, custom markup language, vegetable filter, actuate attribute, pets element, quintessential road, pet element, headline element, schema technology, ellipse element, news aggregator, svg document, default namespace declaration, parsed entities, xhtml document, root template, document type declaration, session elements, vehicle elements
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Google Maps, Internet Explorer, Tall Tales, Google Sitemaps, New York, Quiz Answers, Workshop The Workshop, Warner Park, King Kong, Michael Morrison, Sitemap Generator, Document Printer, Fávorites Tools Help, Great Sporting Events, Cascading Style Sheets, File Edit, Guess That Groove, Milton James, Syndicating the Web, Tom Waits, Flle Edit, Nokia Mobile Browser Simulator, Raising Arizona, World Wide Web Consortium, Adding Structure
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

Citations (learn more)
This book cites 5 books:



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject