[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: short question regarding xsl:attribute

Subject: RE: short question regarding xsl:attribute
From: "Martinez, Brian" <brian.martinez@xxxxxxxx>
Date: Mon, 17 Mar 2003 07:43:48 -0700
short question
> From: Mike Brown [mailto:mike@xxxxxxxx]
> Sent: Sunday, March 16, 2003 10:49 PM
> Subject: Re:  short question regarding xsl:attribute
> 
> 
> Lars Huttar wrote:
> > This is a known erratum.  See 
> http://www.wrox.com/dynamic/books/errata.aspx?isbn=1861005067, where
> > it says for p. 167:
> > 
> >   The second line in the first block of example code on 
> this page is incorrect.
> >   It should read:
> >      <xsl:attribute name="border">2</xsl:attribute>
> 
> Note this is only for the 2nd edition. The first is fine.
> http://www.wrox.com/dynamic/books/errata.aspx?isbn=1861003129

The same error exists in the first edition (p. 156); according to the
copyright page the latest reprint was July 2000, and I bought mine in
February 2001 (mere weeks before the 2nd Edition was published), so
apparently it wasn't caught until after 2nd Edition came out.  (You're
correct, however, that it isn't listed as an erratum for the first
edition--should it be reported for completeness' sake?)  But it's also a
very trivial example, which I think is Michael's point.

Ironically, I've come across code at work that does just this; apparently
the programmer assumed that in order to use conditional attributes, the
entire element must be constructed using xsl:element/xsl:attribute.  I'm
also experiencing selective amnesia in recalling who that programmer was.
;-)

b.

| brian martinez                              brian.martinez@xxxxxxxx |
| lead gui programmer                                    303.708.7248 |
| trip network, inc.                                 fax 303.790.9350 |
| 6436 s. racine cir.                             englewood, co 80111 |
| http://www.cheaptickets.com/                   http://www.trip.com/ |

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.