get_child_by_number
get_child_by_number($number,$include_subchildren=false); - get the interface of the DOM child element with the specified index (available from version 4.6.41)
the input Function accepts parameters:
$number – number of the first-level child element (order, index in the list of child elements) (int). $include_subchildren – also search for all child subelements. (available from version 7.0.23)
After testing, the function returns the result of its work to the script :
DOM element interface – an object that allows you to quickly perform any operations with the found element, the return value type XHEInterface