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

@return Node
Returns the previous node .