Declarative Processing of Semistructured Web Data

by Michael Hanus

Technical Communications of the 27th International Conference on Logic Programming (ICLP 2011), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 11, pp. 198-208, 2011

In order to give application programs access to data stored in the web in semistructured formats, in particular, in XML format, we propose a domain-specific language (DSL) for declarative processing such data. Our language is embedded in the functional logic programming language Curry and offers powerful matching constructs that enable a declarative description of accessing and transforming XML data. We exploit advanced features of functional logic programming to provide a high-level and maintainable implementation of our language. Actually, this paper contains the complete code of our implementation so that the source text of this paper is an executable implementation of our embedded DSL.

PDF (409 KB) BibTeX-Entry Online