Learning XML by Erik T. Ray Following are the changes made in the 6/01 reprint. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification (14) 1st paragraph; The latest XML specification (in XML) is at . The URL has been changed to reflect this. (43) 2nd paragraph; The last sentence used to read: "This is followed by a colon, then a namespace prefix (2), an equals sign, and finally a URL in quotes (3)." "namespace prefix" has been changed to "local name" to be consistent with the description of Figure 2-10 on page 42. {86} last line of Table 3-1: The "locates" column for psibling() used to read: "A node from among the siblings of the current node." It now reads: "A node from among the preceding siblings of the current node." [93] 6; The "Ascott Incident" example now reads: We aren't constrained to the limits of the search string. The offset is allowed to run off the edge and zoom through the remaining text in the node. Searching in the text "The Ascott Venture" with the locator string(1, "Ascott", 8, 7) finds the string "Venture". [123] 7; In the last sentence: ...gets the color blue, not red. now reads: ...gets the color red, not blue. (142) 1st line: This line now reads "The selector .section can match ..." {156} last line of item IDREF: The example used to read: It now reads: (160) 2/3 down the page: Since the graphic file is a Portable Network Graphic (png) the filename has been changed to "pictures/judy.png." [160] and [161], there were three examples starting with: has been changed to: #REQUIRED number #CDATA #IMPLIED> {190} middle of page: The entry for Filbert Fleegle was missing the close. Just before the last in the example, a line with "" alone has been added. (197) In the code at the top of the page: "peanut-butter" has been changed to: "peanut butter" to match Figure 6-1. {200} second line of the stylesheet, at the bottom of the page; The trailing slash has been removed from the uri that's the value of the xmlns attribute . {209} Table 6-3, at child::*; Change the text in the table cell to read: This matches three nodes: the elements , , and . Again, we can leave out the axis specifier and write it as *. (213) line 3; The line: now reads: (214) about a dozen lines down; now reads: {215} 3rd sentence, 1st para. of "Default Rules" section; "...assume an implict element" now reads: "...assume an implicit element" (225) Third line from bottom; The line: "the input would look like this:" now reads: "the output would look like this:" since the immediately preceding text shows the input document. {226} second code block; In:
... The third line has been changed to: [252] last line on page: