XSLT plays an important role in data conversions between different XML representations. However, besides the transformations 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 using 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 their knowledge of HTML editing. 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 explain the ways of generalizing the created rules so that the obtained rules can be applied to other documents slightly different from the original one. Finally, we give a practical example of the rules generation by XSLbyDemo, and demonstrate that our method can be used for not only the conversion but also the partitioning of a real-life HTML document into smaller pages represented with Compact HTML to be rendered on Web-enabled cellular phones such as i-mode phones.
[1]
Kaizhong Zhang,et al.
Simple Fast Algorithms for the Editing Distance Between Trees and Related Problems
,
1989,
SIAM J. Comput..
[2]
Brad A. Myers,et al.
Demonstrational interfaces: A step beyond direct manipulation
,
1992,
Computer.
[3]
Henry Lieberman.
Dominoes and storyboards beyond 'icons on strings'
,
1992,
Proceedings IEEE Workshop on Visual Languages.
[4]
Henry Lieberman.
Programming by example (introduction)
,
2000,
CACM.
[5]
Henry Lieberman,et al.
Visual Generalization in Programming by Example
,
2000,
Your Wish is My Command.
[6]
Kuo-Chung Tai,et al.
The Tree-to-Tree Correction Problem
,
1979,
JACM.
[7]
Henry Lieberman,et al.
Programming by example: visual generalization in programming by example
,
2000,
CACM.
[8]
Kouichi Ono,et al.
Demonstrational Interface for XSLT Stylesheet Generation
,
2000,
Markup Lang..