note 117111 added to domdocument.normalizedocument
| From: | lingasamy dot sakthivel at gmail dot com | Date: | Thu, 16 Apr 2015 05:44:28 +0000 |
| Subject: | note 117111 added to domdocument.normalizedocument | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202279@lists.php.net to get a copy of this message | ||
You can use this in this way.
$doc = new DOMDocument('1.0', 'UTF-8');
$doc->loadHTML($content); // html content
$xpath = new DOMXPath($doc);
$doc->normalizeDocument();
Note that, you can use $doc->normalizeDocument(); at any point of time.
----
Server IP: 72.52.91.14
Probable Submitter: 61.12.5.124
----
Manual Page -- http://php.net/manual/en/domdocument.normalizedocument.php
Edit -- https://master.php.net/note/edit/117111
Del: integrated -- https://master.php.net/note/delete/117111/integrated
Del: useless -- https://master.php.net/note/delete/117111/useless
Del: bad code -- https://master.php.net/note/delete/117111/bad+code
Del: spam -- https://master.php.net/note/delete/117111/spam
Del: non-english -- https://master.php.net/note/delete/117111/non-english
Del: in docs -- https://master.php.net/note/delete/117111/in+docs
Del: other reasons-- https://master.php.net/note/delete/117111
Reject -- https://master.php.net/note/reject/117111
Search -- https://master.php.net/manage/user-notes.php