Subject: Re: [xsl] XHTML DTD aware transformation and indentation behaviour From: Matthieu Ricaud-Dussarget <matthieu.ricaud@xxxxxxxxx> Date: Thu, 02 Feb 2012 17:03:35 +0100 |
Cheers, Matthieu.
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. ________________________________________________________________________
-- Matthieu Ricaud 05 45 37 08 90 NeoLibris
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XHTML DTD aware transform, David Carlisle | Thread | Re: [xsl] Apply transform to docume, Sean Tiley |
Re: [xsl] Apply transform to docume, Sean Tiley | Date | Re: [xsl] Apply transform to docume, G. Ken Holman |
Month |