Subject: RE: Standalone Attributes?
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Tue, 6 Jun 2000 14:19:32 +0100
|
Use the following:
<xsl:output method="html"/>
According to the spec (16.2)
"The html output method should output boolean attributes (that is attributes
with only a single allowed value that is equal to the name of the attribute)
in minimized form. For example, a start-tag written in the stylesheet as
<OPTION selected="selected">
should be output as
<OPTION selected>
>From this I read that <TD nowrap="nowrap"> should be outputted as <TD
nowrap>
Not tried it myself, mind...
Ben
> -----Original Message-----
> From: Carlson, Thor [mailto:CarlsonT@xxxxxxx]
> Sent: 06 June 2000 14:02
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: Standalone Attributes?
>
>
> To render the following HTML:
>
> <TD NOWRAP BGCOLOR="white">
>
> I know how to set the BGCOLOR name/value with xsl:attribute.
> Does anyone
> know how to describe "NOWRAP", a standalone attribute?
>
> TIA.
>
> - Thor
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: Standalone Attributes?, (continued)
- Henning Behme - Tue, 06 Jun 2000 16:38:21 +0200
- Warren Hedley - Tue, 06 Jun 2000 10:52:27 -0400
- Tony Graham - Tue, 6 Jun 2000 11:06:31 -0400 (EST)
- Carlson, Thor - Tue, 6 Jun 2000 09:17:29 -0400
- Ben Robb - Tue, 6 Jun 2000 14:19:32 +0100 <=
- Kay Michael - Tue, 6 Jun 2000 14:35:02 +0100
- Carlson, Thor - Tue, 6 Jun 2000 09:48:31 -0400
- Carlson, Thor - Tue, 6 Jun 2000 10:15:56 -0400
- James Eberhardt - Tue, 6 Jun 2000 11:34:42 -0400
|
|