src/sap.ui.core/src/sap/ui/core/util/reflection/BaseTreeModifier.js
function(oNode) {
			var aChildren = [];
			var aNodes = oNode.childNodes;
			for (var i = 0, n = aNodes.length; i < n; i++) {
				if (aNodes[i].nodeType === 1) {
					aChildren.push(aNodes[i]);
				}
			}
			return aChildren;
		}
function(oNode) {
			var aChildren = [];
			var aNodes = oNode.childNodes;
			for (var i = 0, n = aNodes.length; i < n; i++) {
				if (aNodes[i].nodeType === 1) {
					aChildren.push(aNodes[i]);
				}
			}
			return aChildren;
		}
function ( oNode ) { var aChildren = [ ] ; var aNodes = oNode . childNodes ; for ( var i = 0 , n = aNodes . length ; i < n ; i ++ ) { if ( aNodes [ i ] . nodeType === 1 ) { aChildren . push ( aNodes [ i ] ) ; } } return aChildren ; }
Gets all the children of an XML Node that are element nodes.

@param {Element} oNode - XML node
@returns {Element[]} Array with the children of the node
Gets all the children of an XML Node that are element nodes .