xsl-list
[Top] [All Lists]

Re: short question regarding xsl:attribute

2003-03-16 16:31:28
On Sun, 16 Mar 2003, David Carlisle wrote:

  an example involving xsl:attribute in kay's book:

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


I hope that isn't the example as xsl:attribute doesn't have a border
attribute.

Assuming the example is 
<xsl:attribute name="border">2</xsl:attribute>
then yes it's the same as using a literal result element attribute
in this case.

i writes 'em the way i sees 'em -- kay, p. 167.  although, yes, i 
should have spotted the error right away.    but your response
still clarifies the situation, thanks.

rday


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