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 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format