note 54909 added to ref.dom
| From: | aidan@php.net | Date: | Tue, 19 Jul 2005 13:04:51 +0000 |
| Subject: | note 54909 added to ref.dom | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92165@lists.php.net to get a copy of this message | ||
As of PHP 5.1, libxml options may be set using constants rather than the use of proprietary
DomDocument properties.
DomDocument->resolveExternals is equivilant to setting
LIBXML_DTDLOAD
LIBXML_DTDATTR
DomDocument->validateOnParse is equivilant to setting
LIBXML_DTDLOAD
LIBXML_DTDVALID
PHP 5.1 users are encouraged to use the new constants.
Example:
DomDocument->load($file, LIBXML_DTDLOAD|LIBXML_DTDATTR);
DomDocument->load($file, LIBXML_DTDLOAD|LIBXML_DTDVALID);
----
Manual Page -- http://www.php.net/manual/en/ref.dom.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54909
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54909&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54909&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54909&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54909&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54909&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54909&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54909&report=yes
Search -- http://master.php.net/manage/user-notes.php