Using Prolog for Transforming XML Documents
Programming Languages
2021-04-26 v2 Information Retrieval
Software Engineering
Abstract
Proponents of the programming language Prolog share the opinion Prolog is more appropriate for transforming XML-documents as other well-established techniques and languages like XSLT. In order to clarify this position this work proposes a tuProlog-styled interpreter for parsing XML-documents into Prolog-internal lists and vice versa for serialising lists into XML-documents. Based on this implementation a comparison between XSLT and Prolog follows. First, criteria are researched, such as considered language features of XSLT, usability and expressibility. These criteria are validated. Second, it is assessed when Prolog distinguishes between input and output parameters towards reversible transformation.
Keywords
Cite
@article{arxiv.1912.10817,
title = {Using Prolog for Transforming XML Documents},
author = {René Haberland},
journal= {arXiv preprint arXiv:1912.10817},
year = {2021}
}
Comments
49 pages, 54 figures, 2 appendices