function templateFragment(oElement, oWithControl) {
				var sFragmentName = oElement.getAttribute("fragmentName"),
					oPromise = getResolvedBinding(sFragmentName, oElement, oWithControl, true);

				if (!oPromise) {
					return oSyncPromiseResolved;
				}
				return oPromise.then(function (sFragmentName0) {
					var oOldScope = oScope;

					oScope = Object.create(oScope);
					return insertFragment(sFragmentName0, oElement, oWithControl).then(function () {
						oScope = oOldScope;
					});
				}, function (ex) {
					warn(oElement, "Error in formatter:", ex);
				});
			}
Loads and inlines the content of a <sap.ui.core:Fragment> element.

@param {Element} oElement
  the <sap.ui.core:Fragment> XML DOM element
@param {sap.ui.core.util._with} oWithControl
  the parent's "with" control
@returns {sap.ui.base.SyncPromise}
  A sync promise which resolves with <code>undefined</code> as soon as the fragment
  has been inserted, or is rejected with a corresponding error if loading or visiting
  fails.