xsl-list
[Top] [All Lists]

Re: [xsl] XHTML DTD aware transformation and indentation behaviour

2012-02-02 08:11:19


Just one more question about the output :
A <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> element is added to the <head> element, this is the only residual unindented element in the file. I'm not sure why saxon add this ? It doesn't seems to depend on the xsl:output settings : even when xsl:output is absent I get the <meta> added, with no attribute @encoding="UTF-8" on the xsl:output I also get the meta....


This line is added by the XHTML output method, which is designed on the assumption that the input isn't XHTML.

It can be suppressed using <xsl:output include-content-type="no"/>.

Michael Kay
Saxonica

--~------------------------------------------------------------------
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>
--~--