XDIME provides a device-independent authoring facility. Based on the capabilities of the output device, the XDIME aggregator selects and aggregates output in the form of pages, portlets, and URLs.
How the standards are implemented can differ, and many do not support style sheets. As a result, you would need profoundly different markup to get consistent results. Also, differences in device capabilities could mean that the same markup renders differently on different devices. How the markup is rendered can be unpredictable.
XML-based Device Independent Markup Extensions (XDIME) solves this problem by creating a true device-independent authoring facility. It gives authors a way to build powerful and robust applications without needing to know the capabilities of each device. XDIME also protects the application from underlying changes in devices. Using XDIME, Mobile Portal Accelerator lets authors write application markup once and render it on many different devices.
XDIME is an XML vocabulary that describes content. It references policies which define device specifics, such as layout, styling, and asset references. XDIME then provides tags that references these policies. Using conditional markup, device characteristics can be checked within the portal content.
XDIME is based on XHTML 1.0 Strict and early drafts of XForms. XDIME uses a CSS-style grammar for stylistic control.
The role of an aggregator in WebSphere® Portal is to collect information about the user's request, select related pages or portlets, and aggregate the output for display. The XDIME aggregator extends WebSphere Portal aggregation support to include XDIME.
When Mobile Portal Accelerator receives a request from a device, the XDIME aggregator uses the navigation tree created by the Manage Mobile Pages portlet to select and aggregate the output in XDIME. This output includes pages, portlets, and URLs. The standard portlet API (encompassing JSR 168 and 286) is supported. Note that the IBM portlet API is no longer recommended for use.
In the aggregation process, the capabilities of the receiving device are evaluated. Using extended properties, the content is then rendered in an appropriate format for the device. For example, the aggregator might check if the device supports images. The device capability properties are compared with the device repository to determine if the page, URL, or portlet should be displayed for the node. The aggregator also supports preload notices.
For more information about preload notices, refer to the topic Introduction to Manage Mobile Pages.
XDIME 2 is a new version of XDIME that conforms to the following current or proposed W3C standards: XHTML 2.0, XForms 1.0, DISelect 1.0, and CSS 2.1.
A set of XDIME portlets is provided for out-of-the-box capability and as samples for demonstration purposes: