public function next() {
		$next = $this->domnode;
		if(!$next)
			return new Node(null);
		while(true) {
			$next = $next->nextSibling;
			if(!$next)
				return new Node(null);
			if($next->nodeType == XML_ELEMENT_NODE)
				return new Node($next);
		}
	}
public function next() {
		$next = $this->domnode;
		if(!$next)
			return new Node(null);
		while(true) {
			$next = $next->nextSibling;
			if(!$next)
				return new Node(null);
			if($next->nodeType == XML_ELEMENT_NODE)
				return new Node($next);
		}
	}
public function next ( ) { $ next = $ this -> domnode ; if ( ! $ next ) return new Node ( null ) ; while ( true ) { $ next = $ next -> nextSibling ; if ( ! $ next ) return new Node ( null ) ; if ( $ next -> nodeType == XML_ELEMENT_NODE ) return new Node ( $ next ) ; } }
Returns the next node.

@return Node
Returns the next node .