xsl-list
[Top] [All Lists]

Re: tag minimisation

2002-09-11 03:22:52

<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



<Prev in Thread] Current Thread [Next in Thread>