docType

Package:
docType
Summary:
Create HTML or XHTML depending on the user browser
Groups:
HTML, HTTP, PHP 5, XML
Author:
Michael A. Peters
Description:
This class can be used to create HTML or XHTML depending on the user browser.

It analyzes the current HTTP request Accept header and depending on whether the browser accepts XHTML documents or not, it creates a DOM document structure with the right DOCType element for XHTML or not.

The rest of the document structure can be composed with other regular calls to DOM object functions.


Powered by Gewgley