public function MoveToFirstChild()
	{
		if	(
			is_null( $this->domNode ) ||
			( ! $this->domNode instanceof \DOMDocument && ! $this->domNode instanceof \DOMElement ) ||
			! $this->domNode->hasChildNodes()
		) return false;

		// if ( $this->domNode instanceof \DOMDocument )
		// {
		// 	$this->domNode = $this->domNode->documentElement;
		// 	return true;
		// }

		$this->domNode = $this->domNode->firstChild;
		return true;
	}
public function MoveToFirstChild()
	{
		if	(
			is_null( $this->domNode ) ||
			( ! $this->domNode instanceof \DOMDocument && ! $this->domNode instanceof \DOMElement ) ||
			! $this->domNode->hasChildNodes()
		) return false;

		// if ( $this->domNode instanceof \DOMDocument )
		// {
		// 	$this->domNode = $this->domNode->documentElement;
		// 	return true;
		// }

		$this->domNode = $this->domNode->firstChild;
		return true;
	}
public function MoveToFirstChild ( ) { if ( is_null ( $ this -> domNode ) || ( ! $ this -> domNode instanceof \ DOMDocument && ! $ this -> domNode instanceof \ DOMElement ) || ! $ this -> domNode -> hasChildNodes ( ) ) return false ; // if ( $this->domNode instanceof \DOMDocument )
 // {
 // 	$this->domNode = $this->domNode->documentElement;
 // 	return true;
 // }
 $ this -> domNode = $ this -> domNode -> firstChild ; return true ; }
When overridden in a derived class, moves the XPathNavigator to the first child node of the current node.

@return bool	Returns true if the XPathNavigator is successful moving to the first child node of the current node;
otherwise, false. If false, the position of the XPathNavigator is unchanged.
When overridden in a derived class moves the XPathNavigator to the first child node of the current node .