note 61202 deleted from ref.dom by nlopess
| From: | nlopess@php.net | Date: | Sat, 28 Jan 2006 10:54:37 +0000 |
| Subject: | note 61202 deleted from ref.dom by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-102604@lists.php.net to get a copy of this message | ||
Note Submitter: rsl at zonapersonal dot com
----
Whe getng the conten of a text node to use on a browser you may prefer or need to use:
$text=utf8_decode($domnode->nodeValue);
or
$text=htmlentities(utf8_decode($domnode->nodeValue));
instead of
$text=utf8_decode($domnode->nodeValue);
To have a nice output specialy if you are dealig with áéóñ&....