Corrections to Chapter Chapter 21 of XML in a Nutshell, DOM Reference

p. 347: Under the Java binding for DOMString Public should be public (uncapitalized)

p. 373: The example for getAttribute() is incorrect.

 if (elem.getAttribute("name") == "") { 

should be

 if (elem.getAttribute("name").equals("")) { 

[ XML in a Nutshell Corrections | XML in a Nutshell Home Page | Table of Contents | Examples | Order from Amazon ]

Copyright 2001 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 12, 2001