ң

DomNode->next_sibling

(unknown)

DomNode->next_sibling - .

object DomNode->next_sibling (void)

. , false. , .

1.
<?php include("example.inc"); if(!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the document\n"; exit; } $elements = $dom->get_elements_by_tagname("tbody"); $element = $elements[0]; $child = $element->first_child(); while($child) { print_r($child); $child = $child->next_sibling(); } ?>

. DomNode_previous_sibling() .


ң
DomNode->last_child DomNode->node_name