Show TOC
Implementing XML Views
The following sections explain how XML views are implemented.
In this section:
Namespaces in XML Views
The names of the
SAPUI5
control libraries are mapped to XML namespaces.
Aggregation Handling in XML Views
In XML views, child controls can be simply added as child tags.
Using Native HTML in XML Views
The use of native HTML in XML views depends on the XHTML feature set.
Using CSS Style Sheets in XML Views
Style sheets are included in XML views in the same way as plain HTML. To add further CSS classes to
SAPUI5
controls, use the
class
attribute.
Handling Events in XML Views
XML views use event handlers as attributes: The attribute name is the event name, such as "press" for a button, and the attribute value is the event handler name.
XML Runtime Templating
With XML Runtime Templating you can create or modify views at runtime based on OData V2 metadata or OData V4 annotations.