[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] tag minimisation


Subject: Re: [xsl] tag minimisation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 11 Sep 2002 12:03:39 +0100

> Im guessing, but here is the xhtml serialiser aware of the elements that
> are html, and as such knows not to minimise them - effectively what Im
> talking about?

yes, but that's the point, it requires explict knowledge of the (x)html
dtd, you can't just decide based on whether or not the element to hand
has empty content. It does other things as well like not use &apos; as
that wasn't defined in HTML even though it is pre-defined 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
Keywords