DOM/DOMXPathNavigator.php
public function getOuterXml()
	{
		if ( is_null( $this->domNode ) ) return "";
		return is_null( $this->domNode->parentNode )
			? $this->domNode->ownerDocument->saveXml( $this->domNode )
			: $this->domNode->ownerDocument->saveXml( $this->domNode->parentNode );
	}
public function getOuterXml()
	{
		if ( is_null( $this->domNode ) ) return "";
		return is_null( $this->domNode->parentNode )
			? $this->domNode->ownerDocument->saveXml( $this->domNode )
			: $this->domNode->ownerDocument->saveXml( $this->domNode->parentNode );
	}
public function getOuterXml ( ) { if ( is_null ( $ this -> domNode ) ) return "" ; return is_null ( $ this -> domNode -> parentNode ) ? $ this -> domNode -> ownerDocument -> saveXml ( $ this -> domNode ) : $ this -> domNode -> ownerDocument -> saveXml ( $ this -> domNode -> parentNode ) ; }
Gets or sets the markup representing the opening and closing tags of the current node and its child nodes.

@return string A string that contains the markup representing the opening and closing
tags of the current node and its child nodes.
Gets or sets the markup representing the opening and closing tags of the current node and its child nodes .