IRMA-International.org: Creator of Knowledge
Information Resources Management Association
Advancing the Concepts & Practices of Information Resources Management in Modern Organizations

An Example-Based Generator of XSLT Programs

An Example-Based Generator of XSLT Programs
View Sample PDF
Author(s): José Paulo Leal (University of Porto, Portugal)and Ricardo Queirós (CRACS and ESEIG/IPP, Porto, Portugal)
Copyright: 2013
Pages: 20
Source title: Innovations in XML Applications and Metadata Management: Advancing Technologies
Source Author(s)/Editor(s): José Carlos Ramalho (Universidade do Minho, Portugal), Alberto Simões (Universidade do Minho, Portugal)and Ricardo Queirós (CRACS & INESC-Porto LA, Faculdade de Ciências, Universidade do Porto, Portugal)
DOI: 10.4018/978-1-4666-2669-0.ch001

Purchase

View An Example-Based Generator of XSLT Programs on the publisher's website for pricing and purchasing information.

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.

Related Content

Ruizhe Ma, Azim Ahmadzadeh, Soukaina Filali Boubrahimi, Rafal A Angryk. © 2019. 19 pages.
Zhen Hua Liu. © 2019. 25 pages.
Lubna Irshad, Zongmin Ma, Li Yan. © 2019. 25 pages.
Hao Jiang, Ahmed Bouabdallah. © 2019. 22 pages.
Gbéboumé Crédo Charles Adjallah-Kondo, Zongmin Ma. © 2019. 22 pages.
Safa Brahmia, Zouhaier Brahmia, Fabio Grandi, Rafik Bouaziz. © 2019. 20 pages.
Zhangbing Hu, Li Yan. © 2019. 20 pages.
Body Bottom