Assign code to regions that are hidden or exposed, depending on the detail of the view (for example, you can hide error-checking code when you want to analyze just the algorithm).
One of the main benefits of data-binding frameworks is normally to hide this kind of schema detail from the developers, and XMLBeans certainly falls short on this front.