[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Standalone Attributes?

Subject: RE: Standalone Attributes?
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Tue, 6 Jun 2000 14:19:32 +0100
RE: Standalone Attributes?
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

Not tried it myself, mind...


> -----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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.