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 );
		}
	}