The serialization spec section 6.1.6
The behavior for doctype-system and doctype-public parameters for the XHTML output method is described in 5.1.6 XML Output Method: the doctype-system and doctype-public Parameters.
and section 5.1.6 says:
The doctype-public parameter MUST be ignored unless the doctype-system parameter is specified.
You seem to be trying to pack both the public-id and the system-id into the doctype-public attribute.
Michael Kay

From: [] On Behalf Of Yvon Thoraval
Sent: 19 March 2008 08:05
Subject: [saxon] how to output the doctype

i'm using saxon 9 to output xhtml files with the following instruction :

<xsl:output name="xhtml" method="xhtml" indent="yes" include-content-type="yes" doctype-public="'-//W3C//DTD XHTML 1.1//EN' ''" encoding="UTF-8" byte-order-mark="no" omit-xml-declaration="no" standalone="omit" media-type="application/xhtml+xml"/>
however no doctype is writen on the output files.

what did i misunderstood ?