An Example-Based Generator of XSLT Programs

Author:

Leal José Paulo1ORCID,Queirós Ricardo2

Affiliation:

1. University of Porto, Portugal

2. CRACS and ESEIG/IPP, Porto, Portugal

Abstract

XSLT is a powerful and widely used language for transforming XML documents. However, its power and complexity can be overwhelming for novice or infrequent users, many of whom simply give up on using this language. On the other hand, many XSLT programs of practical use are simple enough to be automatically inferred from examples of source and target documents. An inferred XSLT program is seldom adequate for production usage but can be used as a skeleton of the final program, or at least as scaffolding in the process of coding it. It should be noted that the authors do not claim that XSLT programs, in general, can be inferred from examples. The aim of Vishnu—the XSLT generator engine described in this chapter—is to produce XSLT programs for processing documents similar to the given examples and with enough readability to be easily understood by a programmer not familiar with the language. The architecture of Vishnu is composed by a graphical editor and a programming engine. In this chapter, the authors focus on the editor as a GWT Web application where the programmer loads and edits document examples and pairs their content using graphical primitives. The programming engine receives the data collected by the editor and produces an XSLT program.

Publisher

IGI Global

Reference5 articles.

1. Generating transformational annotation for web document adaptation: tool support and empirical evaluation

2. Leal, J. P., & Queirós, R. (2010). Visual programming of XSLT from examples. Paper presented at 8ª Conferência - XML: Aplicações e Tecnologias Associadas. Vila do Conde, Portugal.

3. Ono, K., et al. (2002). XSLT stylesheet generation by example with WYSIWYG editing. In Proceedings of the Symposium on Applications on the Internet (SAINT 2002), (pp. 150-159). SAINT.

4. Pietriga, E., Vion-Dury, J., & Quint, V. (2001). VXT: A visual approach to XML transformations. In Proceedings of the 2001 ACM Symposium on Document Engineering. ACM Press.

5. Spinks, R., Topol, B., Seekamp, C., & Ims, S. (2001). Document clipping with annotation. IBM DeveloperWorks. Retrieved from http://www.ibm.com/developerworks/ibm/library/ibmclip/

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3