Re: Loading a html file using DOM XML
| From: | Sam Hobbs | Date: | Sun, 29 Aug 2004 14:01:19 +0000 |
| Subject: | Re: Loading a html file using DOM XML | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195074@lists.php.net to get a copy of this message | ||
Under domxml phpinfo shows the libxml Version as 20510 and it says that HTML
Support is enabled. Is that what you mean?
When I say:
$Document = DOMDocument::loadHTMLFile("DynamicTable.html");
print $Document->saveHTML();
It says:
Fatal error: Call to undefined function: loadhtmlfile() in ....
"Christian Stocker" <chregu@gmail.com> wrote in message
news:49373ab7040829062930164e50@mail.gmail.com...
>
> If loadHTMLFile doesn't work, your libxml2 doesn't maybe have HTML
> support, phpinfo() should tell you that (under the domxml section)