xsl-list
[Top] [All Lists]

RE: tag minimisation

2002-09-10 11:11:17
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



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