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

Re: whitespace before the trailing slash

Subject: Re: whitespace before the trailing slash
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 3 Mar 2000 15:11:59 GMT
space after slash
when writing xhtml I use

<br class="compatibility"/>

You can not control how the XSL system writes out a tag but if there is
an attribute there then there will be some space after the element type
name and the browser will be happy.

Actually I write stylesheet for the html output method with just <br/>
and then run a stylesheet to convert an html stylesheet to an xhtml one
and this takes care of adding attributes to empty elements and adding
white space to ensure that elements that are not canonically empty
never use the /> syntax. but always <p> </p>

I posted this html/xhtml stylesheet before but I could
make it available again if need be.

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.