xsl-list
[Top] [All Lists]

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

2012-02-02 08:13:52
On 02/02/2012 13:49, Matthieu Ricaud-Dussarget wrote:

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


your output is defaulting to xhtml method which does this unless you say
include-content-type="no" on xsl:output"

or specify the  xml output method on xsl:output

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________

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