Institute for Informatics
Georg-August-Universität Göttingen

Databases and Information Systems

Uni Göttingen

Workshop on Databases and Programming Languages (DBPL 2001),
Frascati, Italy, Sept., 8-10, 2001. LNCS 2397, Springer, pp. 165-181.

A Rule-based Querying and Updating Language for XML

Wolfgang May


We present XPathLog as a Datalog-style extension to XPath. The querying part extends XPath with binding multiple variables to XML nodes which are "traversed" when evaluating an XPath expression. Data manipulation is done in a rule-based way. In contrast to other approaches, the XPath-based syntax and semantics is also used for a declarative specification how the database should be updated: XPath filters are interpreted as specifications of elements and properties which should be added to the database. In this paper, we focus on the theoretical aspects of XPathLog. XPathLog has been implemented in the LoPiX system.


Extended versions can be found in the Habilitation thesis and in Theory and Practice of Logic Programming, 2004.
Further documentation can be found on the LoPiX project homepage.