Re: [xsl] tag minimisation

Subject: Re: [xsl] tag minimisation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 11 Sep 2002 11:22:52 +0100
> <br>'s aren't the problem, nor are <a> or <img>, as these generally
> don't have styles. 

You are concentrating on css styling the problem with br etc is greater
they simply don't work at all if IE sees them in html mode as <br></br>

> The problem lies squarely with <div> <span> <td>
> etc, getting minimised:

that's the problem you are concentrating on, whilst ignoring the others
such as the the linearisation of bt and elements declared empty, the
content of <script elements, etc.

> All I was asking for was a switch to tell the serialiser not to bother
> minimising empty elements.

But if the intention is to produce something acceptble to legacy
browsers, it doesn't work. XSLT2 draft gives you an xhtml output mode as
part of the standard and as Mike has said, some systems already provide
it as an extension.


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread