PEAR logo

HTML_CSS : The Definitive Guide

Name

HTML_CSS::setXhtmlCompliance — Set xhtml flag

Synopsis

    require_once 'HTML/CSS.php';
   
void|PEAR_Error HTML_CSS::setXhtmlCompliance( $value);  
bool   $value;

Description

Active or not the XHTML mode compliant

Parameter

boolean $value

flag to true if XHTML compliance needed, false otherwise

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 0.3.2 (2004-03-24)

Note

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.5.0 : January 15, 2008