Benefits of XHTML Web pages
XHTML Web pages are processed and rendered more quickly in
the browser than HTML pages because extensive browser code is not
needed to handle the more complex rules of HTML. Web users benefit
from faster download of DataWindow pages because the XSLT and CSS
stylesheets are downloaded only once and cached, resulting in bandwidth
savings. Enterprises also benefit from the greater efficiency, scalability,
extensibility, and accessibility gained by using standard W3C technologies.
Which type of Web DataWindow to use?
The XML and XHTML Web DataWindow expand on the functionality
provided by the HTML Web DataWindow. The following table shows you
when you should use the XML or XHTML Web DataWindow and when you
should use the HTML Web DataWindow:
Feature |
XML |
XHTML |
HTML |
---|---|---|---|
Web pages conform to industry standards |
Yes |
Yes |
No |
Pages can be customized using an XHTML |
Yes |
Yes |
No |
XSLT stylesheets are cached |
Yes |
No |
No |
CSS stylesheets are cached |
Yes |
Yes |
No |
Common JavaScript files can be cached |
Yes |
Yes |
Yes |
Most efficient handling of large amounts |
Yes |
No |
No |
Callback mechanism for paging and other |
Yes |
Yes |
Yes |
Client-side mechanism for paging and |
Yes |
No |
No |
A Grid DataWindow page can be sorted |
Yes |
No |
No |
Composite and nested DataWindows are |
No |
Yes |
No |
Absolute positioning is supported in |
Yes |
Yes |
No |
Greatest compatibility with accessibility |
No |
Yes |
No |
The XML rendering format does not support accessibility software.
Some aspects of the HTML generated using the HTML rendering format
do not support accessibility software.
The caching and bandwidth savings and the client-side paging
feature of the XML Web DataWindow result in better performance.
In addition, you can customize the XHTML rendering of the XML Web
DataWindow using XHTML export templates.

The XSLT stylesheet that transforms the DataWindow content
to XHTML can be customized by applying a custom XHTML export template
to the default generation. The CSS stylesheet can be customized
by applying custom style attributes in a custom
XHTML export template. Using stylesheets to target the presentation
enables the DataWindow to be rendered on virtually every device. For
information about using the new Export Template view for XHTML in
the DataWindow painter, see “Customizing Web DataWindow
generation”.