E-mail List Archives
Re: XHTML Content Negotiation revisited
From: James Pickering
Date: Aug 21, 2005 11:20PM
- Next message: Hoffman, Allen: "Favelet for stylesheet processing"
- Previous message: marvin hunkin: "web project advice please"
- Next message in Thread: James Pickering: "Re: XHTML Content Negotiation revisited"
- Previous message in Thread: Tim Beadle: "Re: XHTML Content Negotiation revisited"
- View all messages in this Thread
I am sure you are familiar with the W3C XHTML 1.0 Specification Appendix
C.11. "Document Object Model and XHTML"
http://www.w3.org/TR/2002/REC-xhtml1-20020801/#C_11
I am indeed well familiar with your cited references. I personally employ
HTML 4.01 (strict) Markup for my Web pages.
James Pickering
http://www.jp29.org/
Accessible to People with Disabilities
RSS feed via RDF/XML
----- Original Message -----
From: "Tim Beadle" < <EMAIL REMOVED> >
To: "WebAIM Discussion List" < <EMAIL REMOVED> >
Sent: Saturday, August 20, 2005 2:08 AM
Subject: Re: [WebAIM] XHTML Content Negotiation revisited
On 8/20/05, James Pickering < <EMAIL REMOVED> > wrote:
> Tim Beadle wrote:
> "All good stuff, but as I mentioned before: are you going to fork your
> DOM Scripts for the two styles of rendering (text/html vs
> application/xhtml+xml) ?"
>
> No, the markup is preset and validated -- the XML is checked for
> well-formedness. The PHP scripting is a pre-processor to generate headers
> via negotiation.
Sorry, I probably didn't make myself clear. If you write client-side
DOM Scripts (the new name for DHTML, basically), you will need to use
different DOM methods (document.createElement vs
document.createElementNS) depending on whether your XHTML is served as
text/html or application/xhtml+xml.
I would go and read these articles, before thinking "maybe HTML 4.01
isn't so bad after all" :)
http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html
http://www.hixie.ch/advocacy/xhtml
http://juicystudio.com/article/all-in-the-mime.php
Regards,
Tim
- Next message: Hoffman, Allen: "Favelet for stylesheet processing"
- Previous message: marvin hunkin: "web project advice please"
- Next message in Thread: James Pickering: "Re: XHTML Content Negotiation revisited"
- Previous message in Thread: Tim Beadle: "Re: XHTML Content Negotiation revisited"
- View all messages in this Thread