public static function FromInstanceDocumentWithExtensionTaxonomy( $instance_document, $compiledLocation, $className = 'XBRL', $useCache = false )
	{
		try
		{
			$instance = new XBRL_Instance();
			$instance->compiledLocation = $compiledLocation;
			$instance->className = $className;

			if ( ! $instance->initialise( $instance_document, null, $useCache ) )
			{
				return false;
			}
		}
		catch ( FormulasException $ex)
		{
			throw $ex;
		}
		catch( Exception $ex )
		{
			$instance->error = "Error initialising the instance document. It may contain invalid XML.\n";
			return false;
		}

		return $instance;
	}