----- Original Message -----
From: "Matt Raible" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 5:22 PM
Subject: x:transform is producing HTML that is not as I specified in my XSL
document


> In my XSL document, I have
>
> <xsl:output method="html" indent="yes"
> doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
> doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

You have to use this instead:

<xsl:output method="xml" indent="yes"
  doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
  doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

XHTML is xml thus the method attribute must be set to xml, not html.
This should works fine.

--
Matteo Di Giovinazzo




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to