Buy Used
Condition: Used: Good
Comment: Ex-library book in excellent condition ships super fast satisfaction guaranteed.
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

XML in a Nutshell : A Desktop Quick Reference (Nutshell Handbook) Paperback – January 11, 2001

ISBN-13: 978-0596000585 ISBN-10: 0596000588 Edition: 1st

Price: $4.00
13 New from $2.70 67 Used from $0.01 1 Collectible from $9.96
Amazon Price New from Used from
"Please retry"
"Please retry"
$2.70 $0.01

There is a newer edition of this item:


Hero Quick Promo
Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now

Editorial Reviews Review

Continuing in the tradition of the Nutshell series, XML in a Nutshell provides a dense tutorial on its subject, as well as a useful day-to-day reference. While the reader isn't expected to have prior expertise in XML, this book is most effective as an add-on to a more introductory tutorial because of its relatively fast pace.

The authors set out to systematically--and rapidly--cover the basics of XML first, namely the history of the markup language and the various languages and technologies that compose the standard. In this first section, they discuss the basics of XML markup, Document Type Definitions (DTDs), namespaces, and Unicode. From there, the authors move into "narrative-centric documents" in a section that appropriately focuses on the application of XML to books, articles, Web pages and other readable content.

This book definitely presupposes in the reader an aptitude for picking up concepts quickly and for rapidly building cumulative knowledge. Code examples are used--only to illustrate the particular point in question--but not in excess. The book gets into "data-centric" XML, exploring the difference between the object-driven Document Object Model (DOM) and the event-driven Simple API for XML (SAX). However, these areas are a little underpowered and offer a bit less detail about this key area than the reader will expect.

At the core of any Nutshell book is the reference section, and the installment found inside this text is no exception. Here, the XML 1.0 standard, XPath, XSLT, DOM, SAX, and character sets are covered. Some material that is covered earlier in the book--such as Cascading Style Sheets (CSS)--is not re-articulated, however. XML in a Nutshell is not the only book on XML you should have, but it is definitely one that no XML coder should be without. --Stephen W. Plain

Topics covered:

  • XML history
  • Document Type Definitions (DTDs)
  • Namespaces
  • Internationalization
  • XML-based data formats
  • XSL
  • XPath
  • XLink
  • XPointer
  • Cascading Style Sheets (CSS)
  • XSL-FO
  • Document Object Model (DOM)
  • Simple API for XML (SAX)


'It is truly an amazing book '- Greek TeX Friends Newsletter, August 2001 '...there is the usual thoroughness one associates with O'Reilly publications. The coverage is totally comprehensive, and all the data is displayed in an attractive and consistent format.... It contains all the basics of the XML standard. Serious web developers will find topics ranging from the most basic syntax rules, to the details of document type definition (DTD) creation. For more advanced users, they also include details of Extensible Stylesheet Transformation (XSLT) and the document object model (DOM). MANTEX Information Design

Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Series: In a Nutshell
  • Paperback: 498 pages
  • Publisher: O'Reilly Media; 1 edition (January 11, 2001)
  • Language: English
  • ISBN-10: 0596000588
  • ISBN-13: 978-0596000585
  • Product Dimensions: 6 x 1 x 9 inches
  • Shipping Weight: 1.5 pounds
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (39 customer reviews)
  • Amazon Best Sellers Rank: #2,335,648 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

All the topics are covered very well.
vijaya dantuluri
If I had to buy one XML book to do my job, XML in a Nutshell would be the one.
Brian Yager
I recommend this book as a good reference on XML.

Most Helpful Customer Reviews

36 of 37 people found the following review helpful By Sojourner on February 3, 2001
Format: Paperback
Blaise Pascal once wrote "I have made this letter longer than usual, only because I have not had the time to make it shorter". Writing a book on XML is quite an undertaking. Writing a quick reference that not only provides expert coverage on XML and its associated technologies but does so concisely, practically, and comprehensively is a super human feat! Amazingly, the authors of "XML In A Nutshell" have accomplished just that and it shows.
One of the authors, Elliotte Rusty Harold, is no stranger to the technology. He is an early adopter who has written two previous XML books (and several good Java books) and created a web site devoted to XML (Cafe con Leche).
This book is divided into 4 parts. The first covers the essentials of XML including XML syntax, DTD and namespaces. The second covers 'Narrative Centric Documents' involving XSLT, CSS, XLinks, XPointers and XPath. The third covers 'Data Centric XML, ' involving DOM and SAX. The final part is a quick reference to all the above. Each part contains tutorials that are concisely written and packed with practical examples. Beginners can use it to jump-start their learning experience and experts can use this as a indispensable ready reference.
XML Schema is mentioned but not covered in this book.
Hats off to O'Reilly Associates for producing a professionally attractive, well-designed and portable book. It is comfortable to read and to hold. Stranded on a island and allowed only one XML book, this is it!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
38 of 42 people found the following review helpful By Maurice Reeves on February 24, 2001
Format: Paperback
As usual, this O'Reilly book makes a good reference into XML and is chock full of information. HOWEVER, as it seems to have been the case lately, this book was not very well edited, almost as if they pushed it through to get published.
Page 35: ?, *, + are all listed as allowing zero or one element, where they are actually each unique.
Page 133: The authors show linking in an XSL Stylesheet in an XML Document and they list the type of linked in document as "text/xml" which will NOT produce the desired result. They type should actually be "text/xsl". (this can be a quite frustrating error to debug)
Similar examples are scattered throughout, plus their decision to not even discuss XML Schemas leaves me a bit puzzled, but I knew that when I bought the book so I can complain too much.
If you need a good reference to XML, and you can overlook small errors, then go ahead and purchase the book. If the errors bug you then I suggest you wait for the second edition.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
14 of 14 people found the following review helpful By Irrational Exuberance on August 5, 2002
Format: Paperback
Over the years, I have used several books in the nutshell series and I have always found them to be useful. However if you buy any nutshell book and more specifically the "XML in a nutshell" book with the intention of learning XML from scratch, then you will be disappointed. This book is meant to be a pocket reference for those who know XML and don't want a huge book on their desk.
This book scratches the surface of several XML topics like DTDs,XLink,XPointer,DOM,SAX,CSS etc, but doesn't explore any subject in detail. However one glaring omission is XML schema.
If you are a techie trying to learn XML or an experienced professional looking to enhance your understanding of XML and the related technologies, then Professional XML from Wrox press is a much better bet of your money.
Overall the most useful section of this book is the reference section at the end and is well worth the money if what you want is a good reference book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
9 of 9 people found the following review helpful By on September 13, 2001
Format: Paperback
This book's an authoritative document: covering XML basics like DTD authoring and detailed discussion of attribute types - through to the more esoteric issues of character sets and the tricky XML namespace standards.
At every step, I found it easy to follow. It's not a book for the non-computer literate though; more aimed at people with an existing basis of technical knowledge. A techie web-designer would find it a good start. About a third of the book is filled with references. I don't know why, but my heart usually sinks when I see page-filling content like this - that said, ultimately it's the reference books like this that end up covered with scribbles and post-it notes, so while they might not make good reading, they're very useful.
It touchs on all the necessary bases - XSLT, XPath, XHTML, XLink, XPointers, CSS - I could go on. This book does. Heck of a basis for future reading: after two and a half years in XML, there's stuff in here that I haven't come across before!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
10 of 11 people found the following review helpful By A. Truong on June 14, 2001
Format: Paperback
The nutshell series really can't be beat. This book on XML is no exception. If you need to learn, from the ground up, any aspect of XML, this book will explain it to you in a clear, concise way.
From 'what is XML?' to doing transforms using XSLT, this book covers all of the bases you will need to know to get up and running in XML. Where most other XML books skim over topics such as namespaces and how to write XML in different character encodings, this nutshell book explains these topics just as thoroughly as the sections on DTD's, XSLT and XPATH. (I particularly found the XPATH reference section to be useful.)
This book is well worth the money for it's clarity and the fact that it doesn't shy away from the nitty-gritty details.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

What Other Items Do Customers Buy After Viewing This Item?