in PHP5's DOM (Not DOM-XML) class use firstChild variable instead of first_child() function.
DomNode->first_child
(PHP 4 >= 4.1.0)
DomNode->first_child — 最初の子ノードを返す
説明
最初の子ノードを返します。
(PHP >= 4.3 のみ) 最初の子ノードが存在しない場合、NULL が返されます。
domnode_last_child(), domnode_next_sibling(), domnode_previous_sibling() も参照ください。
DomNode->first_child
20-May-2007 01:52
