An example-based generator of XSLT programs
Data(s) |
24/10/2014
24/10/2014
2013
|
---|---|
Resumo |
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. |
Identificador |
9781466626690 http://hdl.handle.net/10400.22/5103 10.4018/978-1-4666-2669-0.ch001 |
Idioma(s) |
eng |
Publicador |
IGI Global |
Direitos |
closedAccess |
Tipo |
bookPart |