Structural characterizations of the semantics of XPath as navigation tool on a document

M. Gyssens, J. Paredaens, D. Van Gucht, G.H.L. Fletcher

    Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

    21 Citations (Scopus)

    Abstract

    Given a document D in the form of an unordered labeled tree, we study the expressibility on D of various fragments of XPath, the core navigational language on XML documents. We give characterizations, in terms of the structure of D, for when a binary relation on its nodes is definable by an XPath expression in these fragments. Since each pair of nodes in such a relation represents a unique path in D, our results therefore capture the sets of paths in D definable in XPath. We refer to this perspective on the semantics of XPath as the "global view." In contrast with this global view, there is also a "local view" where one is interested in the nodes to which one can navigate starting from a particular node in the document. In this view, we characterize when a set of nodes in D can be defined as the result of applying an XPath expression to a given node of D. All these definability results, both in the global and the local view, are obtained by using a robust two-step methodology, which consists of first characterizing when two nodes cannot be distinguished by an expression in the respective fragments of XPath, and then bootstrapping these characterizations to the desired results.
    Original languageEnglish
    Title of host publicationProceedings 25th ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (PODS'06, Chicago IL, USA, June 26-28, 2006)
    EditorsS. Vansummeren
    PublisherAssociation for Computing Machinery, Inc
    Pages318-327
    ISBN (Print)1-59593-318-2
    DOIs
    Publication statusPublished - 2006

    Fingerprint

    Dive into the research topics of 'Structural characterizations of the semantics of XPath as navigation tool on a document'. Together they form a unique fingerprint.

    Cite this