An Example-Based Generator of XSLT Programs

An Example-Based Generator of XSLT Programs

José Paulo Leal, Ricardo Queirós
ISBN13: 9781466626690|ISBN10: 1466626690|EISBN13: 9781466627000
DOI: 10.4018/978-1-4666-2669-0.ch001
Cite Chapter Cite Chapter

MLA

Leal, José Paulo, and Ricardo Queirós. "An Example-Based Generator of XSLT Programs." Innovations in XML Applications and Metadata Management: Advancing Technologies, edited by José Carlos Ramalho, et al., IGI Global, 2013, pp. 1-20. https://doi.org/10.4018/978-1-4666-2669-0.ch001

APA

Leal, J. P. & Queirós, R. (2013). An Example-Based Generator of XSLT Programs. In J. Ramalho, A. Simões, & R. Queirós (Eds.), Innovations in XML Applications and Metadata Management: Advancing Technologies (pp. 1-20). IGI Global. https://doi.org/10.4018/978-1-4666-2669-0.ch001

Chicago

Leal, José Paulo, and Ricardo Queirós. "An Example-Based Generator of XSLT Programs." In Innovations in XML Applications and Metadata Management: Advancing Technologies, edited by José Carlos Ramalho, Alberto Simões, and Ricardo Queirós, 1-20. Hershey, PA: IGI Global, 2013. https://doi.org/10.4018/978-1-4666-2669-0.ch001

Export Reference

Mendeley
Favorite

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.

Request Access

You do not own this content. Please login to recommend this title to your institution's librarian or purchase it from the IGI Global bookstore.