get_child_ids2 function

Get the children node ids