Topic: XML

XSLT 2.0 Programmer's Reference, 3rd Edition (0764569090) cover image

XSLT 2.0 Programmer's Reference, 3rd Edition

Michael Kay
ISBN: 978-0-7645-6909-8
Paperback
960 pages
August 2004
View Most Recent Edition of This Title
This title is out-of-print and not currently available for purchase from this site.
About This Title  |  Download Code  |  Errata

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
12 Typo
Windows XT should be Windows XP.
11/12/04
230 Correction to code listing in middle of page 230
replace: <xsl:output-character char=
with: <xsl:output-character character=
10/19/04
230-231 Correction to code listing in bottom of page 230-231
replace: <xsl:output-character char=
with: <xsl:output-character character=
This replacement needs to be made in all 9 code lines here with the error
10/19/04
233 Correction to code listing on page 233, first code block, 2nd line
replace: <xsl:output-character char=
with: <xsl:output-character character=
10/19/04
234 Correction to code block on page 234
replace: <xsl:output-character char=
with: <xsl:output-character character=
This replacement needs to be made in both code lines in the code block that use this
10/19/04
244 Error in Code
second code block

<xsl:template match="svg:*"
xmlns:svg="http://www.w3.org/2000/svg">
<xsl:copy copy-namespaces="no">
<xsl:copy-of select="@*">
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>

The fourth line should read:

<xsl:copy-of select="@*"/>
01/15/2008
284 Error in Page Reference
under the group-adjacent paragraph:
The value that results from evaluating the group-adjacent expression is atomized (see page 000).

should be:
The value that results from evaluating the group-adjacent expression is atomized (see page 73).
05/15/07
541-542 Correction to code listing on bottom of 541-top 542
<xsl:transform
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 version="2.0"
 xmlns:book="books.uri"
 exclude-result-prefixes="book"
>

<xsl:template match="/">
  <html><body>
    <xsl:for-each select="//book">
       <h1><xsl:value-of select="title"/></h1>
       <p>Category: <xsl:value-of
                select="$categories/category
                          [@code=current()/@category]/@desc"/>
       </p>
    </xsl:for-each>
  </body></html>
</xsl:template>

<xsl:variable name="categories">
 <category code="S" desc="Science"/>
 <category code="CS" desc="Computing"/>
 <category code="FC" desc="Children's Fiction"/>
</xsl:variable>

</xsl:transform>
9/20/04