xsl-list
[Top] [All Lists]

RE: [xsl] Closing element required instead of self closing

2008-07-15 09:28:27

In the real world, many people try to deliver a standards 
based website using XSLT -  they choose strict XHTML but are 
quite often limited to XSLT 1.0 and it's XML output method, 
so all of the various hacks are needed.  It really wouldn't 
have been such a big deal if a processor offered a 
tag-minimization="no" serialization option....

But suppressing all tag minimization is not enough. In fact, rendering <hr/>
as <hr></hr> is absolutely the wrong thing to do.

If you're going to provide extensions to an XSLT 1.0 serializer to handle
the XHTML requirement, you might as well do it properly (as Saxon did) and
provide an output="xhtml" method.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--