2002 · 204 citations · 10 references
ComputingComputer ScienceAlgorithmsData StructuresDatabasesData Structure AlgorithmsDynamic Data StructuresQuery ProcessingStructured Query LanguageXml DatabasesDynamic TreesInsertionsLabelsXml Data ModelsXml Parsing
We present algorithms to label the nodes of an XML tree which is subject to insertions and deletions of nodes. The labeling is done such that (1) we label each node immediately when it is inserted and this label remains unchanged, and (2) from a pair of labels alone, we can decide whether one node is an ancestor of the other. This problem arises in the context of XML databases that support queries on the structure of the documents as well us on the changes made to the documents over time. We prove that our algorithms assign the shortest possible labels (up to a constant factor) which satisfy these requirements.We also consider the same problem when "clues" that provide guarantees on possible future insertions are given together with newly inserted nodes. Such clues can be derived from the DTD or from statistics on similar XML trees. We present algorithms that use the clues to assign shorter labels. We also prove that the length of our labels is close to the minimum possible.
10
Tim Bray, Jean Paoli, C. M. Sperberg‐McQueen · World Wide Web · 1997 · 1.7K citations
Mikkel Thorup, Uri Zwick · 2001 · 521 citations
Fernando Berzal · ACM SIGMOD Record · 2003 · 358 citations
Proc. 26th annual symposium on Foundations of computer science
Robert E. Tarjan · 1985 · 258 citations
Change-Centric Management of Versions in an XML Warehouse
Amélie Marian, Serge Abiteboul, Grégory Cobéna et al. · 2000 · 190 citations