xsl-list
[Top] [All Lists]

RE: short question regarding xsl:attribute

2003-03-17 01:53:56
  an example involving xsl:attribute in kay's book:

  <table>
   <xsl:attribute border="2"/>
  </table>

This is an error which I believe has been corrected in later reprints.
It should have read:

<xsl:attribute name="border">2</xsl:attribute>

It's still pretty pointless, as you can write

<table border="2"/>

Michael Kay


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