note 68769 deleted from function.dom-domnode-haschildnodes by didou
| From: | didou@php.net | Date: | Sat, 30 Dec 2006 03:36:36 +0000 |
| Subject: | note 68769 deleted from function.dom-domnode-haschildnodes by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121066@lists.php.net to get a copy of this message | ||
Note Submitter:
----
If you are new to DOM as I am, note that
hasChildNodes() returns true even when the child nodes are not elements -- in other words:
<books>
<book>text</book>
</books>
$node->hasChildNodes() returns true for the node BOOK.