function templateAlias(oElement, oWithControl) {
				var sName = oElement.getAttribute("name"),
					oNewValue,
					oOldValue,
					sValue = oElement.getAttribute("value");

				if (sName && sName[0] === ".") {
					sName = sName.slice(1);
				}
				if (!sName || sName.includes(".")) {
					error("Missing proper relative name in ", oElement);
				}

				oNewValue = getObject(sValue);
				if (!oNewValue) {
					error("Invalid value in ", oElement);
				}

				oOldValue = oScope[sName];
				oScope[sName] = oNewValue;

				return liftChildNodes(oElement, oWithControl).then(function () {
					oElement.parentNode.removeChild(oElement);
					oScope[sName] = oOldValue; // no try/finally needed
				});
			}
Processes a <template:alias> instruction.

@param {Element} oElement
  the <template:alias> XML DOM element
@param {sap.ui.core.util._with} oWithControl
  the "with" control
@returns {sap.ui.base.SyncPromise}
  A sync promise which resolves with <code>undefined</code> as soon as the
  <template:alias> instruction has been fully processed, or is rejected with a
  corresponding error if visiting of child nodes fails.
@throws {Error}
  If the "name" attribute is not a proper relative name or if the "value" attribute
  does not reference an object which is currently in scope