src/XML/DOM/Node.php
public function getChildByIndex( $index )
	{
		if( $index > count( $this->children ) )
			throw new InvalidArgumentException( 'Child Node with Index "'.$index.'" is not existing.' );
		return $this->children[$index];
	}
public function getChildByIndex( $index )
	{
		if( $index > count( $this->children ) )
			throw new InvalidArgumentException( 'Child Node with Index "'.$index.'" is not existing.' );
		return $this->children[$index];
	}
public function getChildByIndex ( $ index ) { if ( $ index > count ( $ this -> children ) ) throw new InvalidArgumentException ( 'Child Node with Index "' . $ index . '" is not existing.' ) ; return $ this -> children [ $ index ] ; }
Returns a Child Node by its Index.
@access		public
@param		int			$index			Index of Child, starting with 0
@return		XML_DOM_Node
@todo		write Unit Test
Returns a Child Node by its Index .