An Efficient and Systematic Method to Generate XSLT Stylesheets for Different Wireless Pervasive Devices

It is a tedious and cumbersome process to update directly a WML document for the wireless Web because its content composes of both data and presentation. Thus, XML is used to handle the data while its XSLT stylesheet is used to extract and format the data for presentation. However, different stylesheets have to be used for different WML enable PDAs or cell phones. An efficient and systematic method based on the idea of generating two separate sets of rules corresponding to content extracting and formatting parts of the stylesheet is described in this paper. The data extraction part is constructed from content rules while the formatting part is constructed from presentation rules. These two separated parts are combined together to form a stylesheet by an XSLT generator. A large number of stylesheets corresponding to different device types and a number of standard DTD documents or XML schemas can be generated in this way and stored in the pool during the application setup stage. Then, they will be individually selected from the pool by an XSLT engine to produce different WML documents for different devices during run time.

By: Thomas Kwok, Thao Nguyen, Linh Lam, 'Kakan Roy

Published in: RC23129 in 2004

LIMITED DISTRIBUTION NOTICE:

This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.

RC23129.pdf

Questions about this service can be mailed to reports@us.ibm.com .