Yes. This error occurs in the second printing. The editors at Wrox tried to correct a minor typo in the first printing, and made a mess of it.
 

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

-----Original Message-----
From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Rob Esris
Sent: 25 July 2002 16:13
To: saxon-help@lists.sourceforge.net
Subject: [saxon] <xsl:attribute> tag as described in XSLT: Second Edition Programmer's Reference

I'm sure I'm overlooking something here, but I came across something puzzling on page 167 of XSLT Programmer's Reference.  For the first example of the tag's usage, it gives:
 
<table>
    <xsl:attribute border="2"/>
</table>
 
Obviously this is supposed to create a <table> tag with an attribute named 'border' set to value '2'.  But on the previous page it says that the only attributes an xsl:attribute tag can take are 'name' and 'namespace'.
 
Shouldn't this be
 
<table>
    <xsl:attribute name="border>2</xsl:attribute>
</table>
 
instead?
 
Rob Esris