It looks like you already have a grasp on how to create UI objects and parent them. If you need a reference, there's
WoWPedia's Widget API page.
The most time-consuming part of the conversion is turning XML's tree structure into a flat linear format.