Corrections to Chapter 5 of The XML Bible, Attributes, Empty Tags, and XSL

p. 96: In the last sentence of the first paragraph, the hyphens should be em dashes.

p.105 and 106: The Greek version of Homer's name is misspelled. The Greek letter rho is missing and the initial omega should be an omicron instead. It should be Ομηρος and that's not even considering breathing and accent marks.

p. 110: In the example at the bottom of the page, the H1 element should be inside the BODY element; that is

<HTML>
  <HEAD>
    <TITLE>
      XSL Instructions to get the title 
    </TITLE>
  </HEAD>
  <BODY>
    <H1>XSL Instructions to get the title</H1>
    XSL Instructions to get the statistics
  </BODY>
</HTML>

p. 122: A closing square bracket is missing from the first code fragment. It should be:

<xsl:for-each select="PLAYER[(@POSITION != 'Pitcher')]">

p. 128: In Listing 5-8 the example caption got merged with the example code. (This one's almost certainly the result of Word's revision tracking.) It should look like:

Listing 5-8: greeting.xml

<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="greeting.xsl"?>
<GREETING>
Hello XML!
</GREETING>

[ Cafe con Leche | Order from amazon.com | The XML Bible Home Page | Table of Contents | Updated Chapters | Examples | Errata from other Chapters ]

Copyright 1999-2001 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified October 30, 2001