Making the user interface data-driven using XML