xsl-list
[Top] [All Lists]

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

2012-02-02 10:03:56
Thank you Michael and David,

Setting xsl:output method to xml prevent the <meta> to be output.
I keep xhtml ouput for compatibility reason, and this <meta> is actually welcomed !
I was just wondering ...

Thanks a lot one more time,

Hope to see you both at XML Prague :-)

Cheers,
Matthieu.

Le 02/02/2012 15:13, David Carlisle a écrit :
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>
--~--




--
Matthieu Ricaud
05 45 37 08 90
NeoLibris


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