[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: "Martynas Jusevicius" <martynas.jusevicius@xxxxxxxxx>
Date: Tue, 8 May 2007 15:16:47 +0200
Re:  PHP XSL adds Content-Type meta
What's an OP? Are you referring to me? :)
I'm generating valid XHTML, no internal or temporary formats.
I just have a bunch of page-specific stylesheets, which form the main
content of the page and include the "master" stylesheet, shich defines
the general layout as well as the <head>.

Martynas

On 5/8/07, Alexander Johannesen <alexander.johannesen@xxxxxxxxx> wrote:
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

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.