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 — Devuelve el primer hijo del nodo
Descripción
Devuelve el primer hijo del nodo.
(Sólo PHP >= 4.3) Si no se encuentra un hijo, se devuelve NULL.
Vea también domnode_last_child(), y domnode_next_sibling(), domnode_previous_sibling().
DomNode->first_child
20-May-2007 03:52
