DOM/DOMXPathNavigator.php
public function getSchemaInfo()
	{
		if ( is_null( $this->domNode ) ) return null;

		switch( $this->domNode->nodeType )
		{
			case XML_ATTRIBUTE_NODE:
			case XML_ELEMENT_NODE:
				return new DOMName( $this->domNode );

			case XML_TEXT_NODE:
				return new DOMName( $this->domNode->parentNode );

			default:
				return new DOMSchemaInfo( $this->domNode );
		}
	}
public function getSchemaInfo()
	{
		if ( is_null( $this->domNode ) ) return null;

		switch( $this->domNode->nodeType )
		{
			case XML_ATTRIBUTE_NODE:
			case XML_ELEMENT_NODE:
				return new DOMName( $this->domNode );

			case XML_TEXT_NODE:
				return new DOMName( $this->domNode->parentNode );

			default:
				return new DOMSchemaInfo( $this->domNode );
		}
	}
public function getSchemaInfo ( ) { if ( is_null ( $ this -> domNode ) ) return null ; switch ( $ this -> domNode -> nodeType ) { case XML_ATTRIBUTE_NODE : case XML_ELEMENT_NODE : return new DOMName ( $ this -> domNode ) ; case XML_TEXT_NODE : return new DOMName ( $ this -> domNode -> parentNode ) ; default : return new DOMSchemaInfo ( $ this -> domNode ) ; } }
Gets the schema information that has been assigned to the current node as a result of schema validation.

@return IXmlSchemaInfo An IXmlSchemaInfo object that contains the schema information
for the current node.
Gets the schema information that has been assigned to the current node as a result of schema validation .