This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Standalone Attributes?
- To: xsl-list at mulberrytech dot com
- Subject: Re: Standalone Attributes?
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Tue, 06 Jun 2000 10:52:27 -0400
- CC: "Carlson, Thor" <CarlsonT at DNB dot com>
- Organization: Department of Engineering Science, The University of Auckland
- References: <6D93E4F66563D211A0650008C7B1EAF3014585F5@exbhbhmb03.us.dbisna.com>
- Reply-To: xsl-list at mulberrytech dot com
"Carlson, Thor" wrote:
>
> 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?
The NOWRAP attribute as it appears in your above example is just
short for NOWRAP="NOWRAP". The longer version should still be
understood by browsers.
If you use the HTML output method, XSL processors should actually
output the condensed version.
So make sure you have <xsl:output method="html"> at the top of your
stylesheet.
Hope this helps.
--
Warren Hedley
Department of Engineering Science
Auckland University
New Zealand
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list