Secondary menu

Main menu

Question?

Don’t see the answer you’re looking for? Send me your question.

Contact me
Peachpit Press offers other Visual QuickStart Guides for new developers.

  • HTML, XHTML, and CSS
  • PHP 6 and MySQL 5 for Dynamic Web Sites
  • Photoshop CS3
Visit PeachPit Press

Errata


XML: Visual QuickStart Guide, Errata & Clarifications

This page contains typographical errors that made it into the text. It also contains clarifications and added notes about the examples in the book. And, again, if you don't see what you're looking for here, please send me a note or question on my Contact form.

Page 10: Under Figure 1.15, </<ancient_wonders> should be </ancient_wonders>. There is an extra less-than sign after the backslash that should be removed.  

* Special thanks to Joe Dooley for this erratum!

 

Page 11: Under Figure 1.16, the first element should be "name" and not "height." It should read: <name language="English">Colossus</name>

* Special thanks to Kevin Atkins for this erratum!

 

Page 14: Under Figure 1.22, the first sentence of the caption should read, "When this document is parsed, the &lt; entity will be displayed as <."

* Special thanks to Anthony Sacco for this erratum!

 

Page 21: Under Performing the transformation, the beginning of the fourth line in the first paragraph should read "that" and not "the."

* Special thanks to Charles Libby for clarifying this erratum!

 

Page 21: In Figure 2.4, the displayed sentence reads, "The Colossus of Rhodes is located in Greece." It should however read, "The Colossus of Rhodes is located in Rhodes, Greece." This is based on the XML shown in Figure 2.2.

* Special thanks to Patrick Lawlor for this erratum!

 

Page 26: In Figure 2.10, the .xml file has a stylesheet reference: href="02-10.xsl". Instead, the reference should read: href="02-11.xsl".

* Special thanks to Philip Wales for this erratum!

 

Page 42: The downloaded file 03-06.xml has a stylesheet reference: href="03-06.xsl". Instead, the reference should read: href="03-07.xsl".

* Special thanks to Philip Wales for this erratum!

 

Page 51: In Figure 4.3, the last line of text explanation should read, " ... if it's in any other position, only the name, a comma, and a space are output."

* Special thanks to Patrick Kellogg for this erratum!

 

Page 52: In Figure 4.5, the math used to calculate the Years Standing values should not subtract 1. What is written in the caption is correct: Since all the wonders were built in the BC era, if they were destroyed in the AD era or are still standing, I need to add, not subtract, the year_built and the year_destroyed.

 

Page 54: Under Figure 4.11, the second instance of "/>m) should be omitted from the XSLT. It should instead read as follows:

(<em><xsl:value-of select=
"format-number
(height * 0.3048, '##0.0')"/> m
</em>)

* Special thanks to John Stafford for this erratum!

 

Page 82: The caption of Figure 6.15 indicates that the DTD shown contains the same XML logic as the DTD shown in Figure 6.12. This is not correct. In the DTD shown in Figure 6.15, the year_destroyed and how_destroyed elements are either both present or both absent. In the DTD shown in Figure 6.12, the year_destroyed element can be present or absent, and the how_destroyed element can be either present or absent; they are not required to both be present or absent at the same time.

* Special thanks to Philip Wales for this erratum!

 

Page 87: Under Figure 6.27, the first sentence of the caption should read, "In this example, I only want to allow two possibilities for the value of the units attribute in the height element: inches or feet."

* Special thanks to Anthony Sacco for this erratum!

 

Page 117: Step 1 should read, '... type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" '. In the book, "-instance" is missing.

 

Appendix A; page 249: Under Validation and Conversion Tools, the URL should read www.validome.org/grammar/. The end slash is required for the URL to load the correct page.

© 2009 - 2014 Kevin Howard Goldberg