DOMDocument and html doctype
| From: | Claudio | Date: | Sat, 14 May 2005 10:00:40 +0000 |
| Subject: | DOMDocument and html doctype | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-215213@lists.php.net to get a copy of this message | ||
Hi,
I've used loadHTML() to read a HTML file to DOM. This file starts with a
string like
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Do someone know how I can access this string? By reading the doctype back
from DOMDocument I only found the name (HTML) but nothing more...
Thanks,
Claudio