[Home] [By Thread] [By Date] [Recent Entries]
That is what though -- that content-type meta should be added with method="html" but not method="xml". I found an older thread on that: http://www.mail-archive.com/xslt@xxxxxxxxx/msg00783.html However I am indeed using method="xml" and still get the meta, even with command line xsltproc (just checked). A specific stylesheet includes the "master" stylesheet which then contains the <xsl:output>, but I guess that should not matter. Martynas On 5/8/07, Michael Kay <mike@xxxxxxxxxxxx> wrote: XSLT 1.0 specifies that when you use the HTML output method, the serializer will add a <meta> element containing the media type and encoding. This normally causes no problems, because the encoding is known at this point (it's the responsibility of the serializer to get it right). XSLT 2.0 however does allow you to switch this behaviour off using <xsl:output include-content-type="no"> - this can be useful if you want to transcode the document after serialization and before HTTP delivery.
|

Cart



