When you have developed and deployed the pieces the XML Web DataWindow needs, here is what happens when a user requests the URL for a page containing the DataWindow.
Server-side code is used to invoke the Web DataWindow generator. During the generation process:
Using the default XHTML export template or a custom template you created, an XHTML rendering of the DataWindow is generated in a Document Object Model (DOM) tree.
A CSS style sheet is generated in a DOM tree with the style information for the DataWindow elements.
Generating as many of the style rules in CSS as possible (including all absolute positions) can increase page download speed because the stylesheet is downloaded only once and cached.
Client-side JavaScript files are generated for instantiating the control object and the array of row elements.
You can improve performance by generating most of this client-side JavaScript in static files. For information about how you create and deploy the static JavaScript files, see “Using JavaScript caching for Web DataWindow methods”.
A reverse transformation of the XHTML DOM tree to XML (DataWindow content) and XSLT (DataWindow layout) occurs.
XSLT also creates the structural layout of the page, saving bandwidth. Server processing is also reduced by offloading work to the client.
A small amount of JavaScript is generated to perform explicit transformation on the client side to render in the browser a fully functional DataWindow in XHTML.
When a user accesses a Web page containing the XML Web DataWindow, the client browser:
Downloads the source XML file (DataWindow content for the page) and the XSLT stylesheet, which is cached locally.
Performs the transformation using the built-in Microsoft or Netscape XSLT processor.
Outputs the XHTML result into a <DIV> section on the page.
Downloads, caches, and applies the CSS stylesheet for display in the browser.
Downloads and caches JavaScript files.
Regenerates and downloads the XML file and JavaScript row objects file for the updated DataWindow page after a specified action by the user (HTTP Get/HTTP response).