Preprint version. Published in Proceedings of the 3rd International Workshop on XQuery Implementation, Experience and Perspectives (XIMEP'06): Chicago, IL., June 1, 2006.
Copyright © ACM 2006. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution.
NOTE: At the time of publication, the author Alex Dekhtyar was not yet affiliated with Cal Poly.
Text has a non-hierarchical structure. Not surprisingly, searching for information in the content of a document often yields results that overlap the structure within the document. It is often of a great interest to relate such results to the embedded document structure. In this work we present an extension of the XQuery language over multihierarchical document-centric XML documents. We illustrate the benefits of using multihierarchical XQuery for text-and-structure searches in document-centric XML documents More specifically, multihierarchical XQuery allows representing relationships between textsearch results and document structure even for cases wheresuch search results overlap markup boundaries and even incases when only one markup hierarchy is considered.