src/sap.ui.core/src/sap/ui/core/util/XMLPreprocessor.js
function visitChildNodes(oNode, oWithControl) {
				return stopAndGo(
					// cache live collection so that removing a template node does not hurt
					Array.prototype.slice.apply(oNode.childNodes),
					function (oChild) {
						return visitNode(oChild, oWithControl);
					});
			}
function visitChildNodes(oNode, oWithControl) {
				return stopAndGo(
					// cache live collection so that removing a template node does not hurt
					Array.prototype.slice.apply(oNode.childNodes),
					function (oChild) {
						return visitNode(oChild, oWithControl);
					});
			}
function visitChildNodes ( oNode , oWithControl ) { return stopAndGo ( // cache live collection so that removing a template node does not hurt Array . prototype . slice . apply ( oNode . childNodes ) , function ( oChild ) { return visitNode ( oChild , oWithControl ) ; } ) ; }
Visits all child nodes of the given node.

@param {Node} oNode the XML DOM node
@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 visiting is
done, or is rejected with a corresponding error if visiting fails.
Visits all child nodes of the given node .