in PHP5's DOM (Not DOM-XML) class use firstChild variable instead of first_child() function.
DomNode->first_child
(No version information available, might be only in CVS)
DomNode->first_child — Returns first child of node
Description
Returns the first child of the node.
(PHP >= 4.3 only) If no first child is found, NULL is returned.
See also domnode_last_child(), and domnode_next_sibling(), domnode_previous_sibling().
DomNode->first_child
20-May-2007 09:52
