public function getChildByName($name, $position)
    {
        $result = array_values($this->getChildrenByName($name));

        if (!isset($result[$position])) {
            return null;
        }

        return $result[$position];
    }
public function getChildByName($name, $position)
    {
        $result = array_values($this->getChildrenByName($name));

        if (!isset($result[$position])) {
            return null;
        }

        return $result[$position];
    }
public function getChildByName ( $ name , $ position ) { $ result = array_values ( $ this -> getChildrenByName ( $ name ) ) ; if ( ! isset ( $ result [ $ position ] ) ) { return null ; } return $ result [ $ position ] ; }
Retrieves child-element by name and position. If no child is found,
`NULL` will be returned.

@since Symphony 2.3
@param string $name
@param integer $position
@return XMLElement
Retrieves child - element by name and position . If no child is found NULL will be returned .