Hello,
it is difficult to give you a concrete tip without having understood your implementation. Especially the aspect of XML generated code sounds diffuse for me. Generally, Embedded Wizard is already well optimized. If we focus on the dynamic creation of objects or loading of resources, I don't see any possibility to speed up them. What you could try is to review the structure of the visual components. Maybe they are unnecessarily complex?
However, I suppose, the actual problem is caused by the amount of visual components you try to create at once. Assuming you have a menu with 100 menu items, in your implementation all 100 items need to be created before the menu is shown. This will take its time. Such application cases could be better implemented if you instantiate only those menu items, which are actually visible on the screen. Please take a look at the Vertical List component. It implements mechanisms to manage only those list items which are actually visible. When the user scrolls the list, new items are instantiated on demand while old items are released. You can try to implement similar approach by involving your XML data base.
Best regards
Paul Banach