function processView(xContent) {
			that._xContent = xContent;

			/** @deprecated since 1.120.0 */
			if (View._supportInfo) {
				View._supportInfo({context: that._xContent, env: {caller:"view", viewinfo: merge({}, that), settings: merge({}, mSettings || {}), type: "xmlview"}});
			}

			// extract the properties of the view from the XML element
			if (!that.isSubView()) {
				// extract the internal settings from the XML and set on the view. The standard properties, event
				// handler, aggregation and association will be extracted during parsing the content and applied to the
				// view instance by calling "applySettings"
				XMLTemplateProcessor.parseViewAttributes(xContent, that);
			} else {
				// when used as fragment: prevent connection to controller, only top level XMLView must connect
				delete mSettings.controller;
			}
			/**
			 * @ui5-transform-hint replace-local false
			 */
			const bSupportHTMLAndSVG = true;
			// vSetResourceModel is a promise if ResourceModel is created async
			var vSetResourceModel = setResourceModel(that, mSettings);
			if (vSetResourceModel instanceof Promise) {
				if (bSupportHTMLAndSVG) {
					return vSetResourceModel.then(function() {
						setAfterRenderingNotifier(that);
					});
				} else {
					return vSetResourceModel;
				}
			}
			if (bSupportHTMLAndSVG) {
				setAfterRenderingNotifier(that);
			}
		}
This function initialized the view settings.

@param {object} mSettings with view settings
@returns {Promise|null} will be returned if running in async mode