Subject: Re: [xsl] PHP XSL adds Content-Type meta From: "Alexander Johannesen" <alexander.johannesen@xxxxxxxxx> Date: Tue, 8 May 2007 23:06:37 +1000 |
Though I got the impression here that they were inferring XHTML from the use of method="xml" and doctype-system="....", which is definitely a departure from the spec.
It certainly does, which makes it a bit tricky to serve valid XHTML Strict to browsers who don't understand XHTML through application/xml+xhtml as it wraps the <script> elements with CDATA but without the normal comment wrapper workarounds for stupid browsers such as Internet Explorer. Hmm. It would be good if there was a way to make the output="xml" work strict, though.
However, the OP mentioned that he was creating lots of XHTML files that didn't support the <head> section (some internal or temporary formats?). If that is the case, then you *can't* put in the XHTML Strict doctype, because it ain't XHTML Strict and you can't expect your tools to ignore the doctype if you present it. So, going back, you're doing it wrong, mate. :)
Alex -- --------------------------------------------------------------------------- Project Wrangler, SOA, Information Alchymist, UX, RESTafarian, Topic Maps ------------------------------------------ http://shelter.nu/blog/ --------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] PHP XSL adds Content-Type, Michael Kay | Thread | Re: [xsl] PHP XSL adds Content-Type, Martynas Jusevicius |
RE: [xsl] PHP XSL adds Content-Type, Michael Kay | Date | Re: [xsl] PHP XSL adds Content-Type, Martynas Jusevicius |
Month |