[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: PHP XSL adds Content-Type meta

Subject: Re: PHP XSL adds Content-Type meta
From: "Alexander Johannesen" <alexander.johannesen@xxxxxxxxx>
Date: Tue, 8 May 2007 23:06:37 +1000
Re:  PHP XSL adds Content-Type meta
On 5/8/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.