Book Review: XML Demystified

Some people can go through life without worrying about XML (Extensible Markup Language); as far as they are concerned, it's all a big technological mystery. Other people need to work with XML, however. XML Demystified is a first step toward that understanding.

The book is part of a Demystified series from McGraw-Hill that can probably be looked at as a competitor to the Dummies series of books — a fast introduction to a particular subject that gives you the basics and teaches you the vocabulary, but isn't going to teach you everything you need to know.

There are some advantages to the Demystified series. First, you don't have to carry around a bright yellow book with the word Dummies emblazoned on the cover. Second, it strips all the filler out of the Dummies series — the cartoons, the pages of snarky introduction to each chapter, the sometimes forced lists of ten at the back of the book. In its place, XML Demystified gets serious. There's a quiz at the end of each chapter (with the answers in the back of the book) as well as a final exam. That's probably fitting, for the authors are both faculty members at Columbia University, as well as consultants.

Now that we've established that this is a more serious treatment of XML, what do they cover? The book takes a step-by-step approach to the basics. After an introductory chapter, you learn what's in an actual XML document in chapter 2; how the XML files are basically a database constructed of tags, like HTML tags, that hold data.

The power of XML actually comes from the X. It is an eXtensible language that anyone can customize for their own situation. You do that by creating Document Type Definitions, which is the topic in Chapter 3. Once you learn these two chapters, you know enough to create an XML document. However, you don't know enough to use them. That's what the rest of the book covers, in chapters 4 and on: XML Schemas; XLink, XPath, XPointer; XSLT; XML parsers and Transformations; Really Simple Syndication (RSS); XQuery; and MSXML.

As a webmaster and blogger, I'm probably most familiar with RSS as an XML application. So looking at their RSS chapter in a little more depth can illustrate the strengths and weaknesses of the book. In many ways, the strength and weakness are the same — it covers RSS in ten pages. They give you the basic tags you need to construct an XML feed using RSS 2.0, starting with a bare-minimum feed and then introducing some of the other tags that will make the feed more useful. However, the chapter is somewhat disengaged from the real-world. There are a couple of paragraphs of history, correctly citing Dave Winer as the father of RSS. They do give links to two aggregators (newsisfree.com and syndic8.com) that you could follow to find out more. Their sample RSS feed shows that they are using RSS 2.0, which at least alludes to the fact that there may be more than one RSS standard, but otherwise ignores the whole subject of different RSS versions, Atom, etc. And while the conclusion to the chapter states that RSS "enables content providers to make their documents available to other web sites using an aggregator much like a local newspaper distributes their news stories to media outlets using a news wire service", nowhere in the chapter (nor the book) does the word blog or weblog come up. Since this book has a 2005 copyright date, it seems to be a curious omission for one of the most popular uses of RSS.

Continued on the next page Page 1 — Page 2

Article tags

Spread the word
Bookmark and Share
Profile image for bruce-kratofil

Article Author: Bruce Kratofil

Bruce Kratofil blogs on bugs and other things that can go wrong with your computer at The BugBlog, and writes about computers and economics at BJK Research

Visit Bruce Kratofil's author pageBruce Kratofil's Blog

Read comments on this article, and add some feedback of your own
  • No image found
  • No image found
  • No image found
  • No image found
  • No image found
  • No image found
  • No image found

Article comments

Add your comment, speak your mind

Personal attacks are NOT allowed.
Please read our comment policy.
Please preview your comment.

blogcritics lists for May 22, 2013

fresh articles Most recent articles site-wide

fresh comments Most recent comments site-wide

most comments Most comments in 24hrs

top writers Most prolific Blogcritics for April

top commenters Most prolific Commenters in 24 hrs