XSLT stylesheet generation by example with WYSIWYG editing
- 25 June 2003
- proceedings article
- Published by Institute of Electrical and Electronics Engineers (IEEE)
Abstract
XSLT plays an important role in the 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.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 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.Keywords
This publication has 6 references indexed in Scilit:
- Dominoes and storyboards beyond 'icons on strings'Published by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- Demonstrational interface for XSLT stylesheet generationMarkup Languages: Theory and Practice, 2000
- Programming by example: visual generalization in programming by exampleCommunications of the ACM, 2000
- Demonstrational interfaces: A step beyond direct manipulationComputer, 1992
- Simple Fast Algorithms for the Editing Distance between Trees and Related ProblemsSIAM Journal on Computing, 1989
- The Tree-to-Tree Correction ProblemJournal of the ACM, 1979