docType
Package:
Summary:
Create HTML or XHTML depending on the user browser
Groups:
Author:
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.
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.
Comments are closed.