public function getName()
	{
		if ( is_null( $this->domNode ) ) return null;

		if ( $this->domNode instanceof \DOMNameSpaceNode )
		{
			return $this->domNode->prefix;
		}
		else
		{
			return empty( $this->domNode->prefix )
				? "{$this->domNode->localName}"
				: "{$this->domNode->prefix}:{$this->domNode->localName}";
		}
	}
public function getName()
	{
		if ( is_null( $this->domNode ) ) return null;

		if ( $this->domNode instanceof \DOMNameSpaceNode )
		{
			return $this->domNode->prefix;
		}
		else
		{
			return empty( $this->domNode->prefix )
				? "{$this->domNode->localName}"
				: "{$this->domNode->prefix}:{$this->domNode->localName}";
		}
	}
public function getName ( ) { if ( is_null ( $ this -> domNode ) ) return null ; if ( $ this -> domNode instanceof \ DOMNameSpaceNode ) { return $ this -> domNode -> prefix ; } else { return empty ( $ this -> domNode -> prefix ) ? "{$this->domNode->localName}" : "{$this->domNode->prefix}:{$this->domNode->localName}" ; } }
When overridden in a derived class, gets the qualified name of the current node.

@return string A string that contains the qualified XPathNavigator.Name of the
current node, or Empty if the current node does not have a name
(for example, text or comment nodes).
When overridden in a derived class gets the qualified name of the current node .