This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Standalone Attributes?


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]