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

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

					oScope = Object.create(oScope);
					return insertFragment(sFragmentName, 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.
			 */
Loads and inlines the content of a  element.
@param {Element} oElement
the  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 undefined as soon as the fragment
has been inserted, or is rejected with a corresponding error if loading or visiting
fails.
Loads and inlines the content of a element . @param { Element } oElement the 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 undefined as soon as the fragment has been inserted or is rejected with a corresponding error if loading or visiting fails .
function templateFragment(oElement, oWithControl) {
				var sFragmentName = oElement.getAttribute("fragmentName"),
					oPromise = getResolvedBinding(sFragmentName, oElement, oWithControl, true);
				if (!oPromise) {
					return oSyncPromiseResolved;
				}
				return oPromise.then(function (sFragmentName) {
					var oOldScope = oScope;
					oScope = Object.create(oScope);
					return insertFragment(sFragmentName, oElement, oWithControl).then(function () {
						oScope = oOldScope;
					});
				}, function (ex) {
					warn(oElement, 'Error in formatter:', ex);
				});
			}
function templateFragment ( oElement , oWithControl ) { var sFragmentName = oElement . getAttribute ( "fragmentName" ) , oPromise = getResolvedBinding ( sFragmentName , oElement , oWithControl , true ) ; if ( ! oPromise ) { return oSyncPromiseResolved ; } return oPromise . then ( function ( sFragmentName ) { var oOldScope = oScope ; oScope = Object . create ( oScope ) ; return insertFragment ( sFragmentName , 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.
Loads and inlines the content of a <sap . ui . core : Fragment > element .