RE: [xsl] tag minimisation

Subject: RE: [xsl] tag minimisation
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 10 Sep 2002 19:11:17 +0100
> > The use xsl:output method="html" and it won't happen.
> 
> What if you want xml output that will subsequently be used as 
> html, such as in a chain of transformations?
> 
> What if you want to post-process the html output?
> 
> It would be a really useful feature.
> 
> Other than for visual neatness, why minimise elements?

If you ask for XML output, then the assumption is that anything that an
XML parser will accept is OK.

If you want XHTML, several processors including saxon have an output
method for XHTML that won't do tag minimisation except for elements
whose content model is EMPTY.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread