XSLT Stylesheet Generation by Example with WYSIWYG Editing

XSLT plays an important role in the data conversions between different
XML representations. However, besides the transformation between XML
data representations, conversion to an HTML document is one of the most
practical tasks for XSLT, because it allows XML documents to be rendered
in a human-readable form on Web browsers.
We have developed XSLbyDemo, which is an XSLT stylesheet generation
module to be plugged into a commercially available full-fledged HTML
authoring tool. The remarkable feature of XSLbyDemo is that users can
create an XSLT stylesheet automatically solely on the basis of the
knowledge of HTML editing.
In this paper, we briefly explain situations where stylesheets for
XML rendering are needed. We then introduce the rule generation
method based on the users' operation history recorded behind the
WYSIWYG editor, and in particular explains the ways of generalizing
the created rules so that the obtained rules can be applicable to the
other documents slightly different from the original one. Finally,
we give a practical example of the rule generation by XSLbyDemo, and
demonstrate that our method can be used for not only the conversion
but also the fragmentation of a real-life HTML document into smaller
pages represented with Compact HTML to be rendered on Web-enabled
cell phones such as i-mode phones.

By: Kouichi Ono, Teruo Koyanagi, Mari Abe, Masahiro Hori

Published in: SAINT 2002Nara, Japan, IEEE in 2002

Please obtain a copy of this paper from your local library. IBM cannot distribute this paper externally.

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