Re: [xsl] tag minimisation

Subject: Re: [xsl] tag minimisation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 10 Sep 2002 18:55:23 +0100
> Its such a small issue that causes huge problems, I can't see any
> benefit whatsoever of enforcing minimisation at this time.

would you object to <hr/> being output as <hr></hr> (and similarly img,
br, meta, etc?

I fail to see why it is a problem at all, if you give the file
containing <div/> to an xhtml renderer such as mozilla or netscape, it
works fine. If you want to use an html system then quite a lot of things
are likely to go wrong if you give it xml, so why not use the html
output method?

It isn't only <div/> If you are sending to a legacy html browser you'll
need <br /> not <br/> or <br></br> the content of script elements is
almost impossible to get right as html script is CDATA and that does not
exist as an element type in XML, ...


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