Controlling the user interface with XML classes

The runtime system represents the user interface of a program with a DOM tree. User interface elements can be manipulated with the DOM and SAX built-in classes.

However, you must pay attention when modifying the AUI tree directly through the use of these classes. Invalid node or attribute creation can lead to unpredictable results.