This event occurs when the menu has already been loaded and just before onLoadFunction:
menu.attachEvent("onXLE", function(){});
In case of dynamical loading, onXLE event will be called every time after a system loads a certain part of data into the menu. Note: this event should be attached after the code line that calls loadXML() method.