Back to Search Start Over

Efficient memory representation of XML document trees

Authors :
Busatto, Giorgio
Lohrey, Markus
Maneth, Sebastian
Source :
Information Systems. Jun2008, Vol. 33 Issue 4/5, p456-474. 19p.
Publication Year :
2008

Abstract

Abstract: Implementations that load XML documents and give access to them via, e.g., the DOM, suffer from huge memory demands: the space needed to load an XML document is usually many times larger than the size of the document. A considerable amount of memory is needed to store the tree structure of the XML document. In this paper, a technique is presented that allows to represent the tree structure of an XML document in an efficient way. The representation exploits the high regularity in XML documents by compressing their tree structure; the latter means to detect and remove repetitions of tree patterns. Formally, context-free tree grammars that generate only a single tree are used for tree compression. The functionality of basic tree operations, like traversal along edges, is preserved under this compressed representation. This allows to directly execute queries (and in particular, bulk operations) without prior decompression. The complexity of certain computational problems like validation against XML types or testing equality is investigated for compressed input trees. [Copyright &y& Elsevier]

Details

Language :
English
ISSN :
03064379
Volume :
33
Issue :
4/5
Database :
Academic Search Index
Journal :
Information Systems
Publication Type :
Academic Journal
Accession number :
32053693
Full Text :
https://doi.org/10.1016/j.is.2008.01.004