private function getOtherValue( $val )
	{
		/**
		 * @var XPath2Item $otherValue
		 */
		$otherValue = $val->getValue();
		return $otherValue instanceof XPath2Item
			? $otherValue->getValue()
			: $otherValue;
	}