A matching algorithm for measuring the structural similarity between an XML document and a DTD and its applications

作者:

Highlights:

摘要

In this paper we propose a matching algorithm for measuring the structural similarity between an XML document and a DTD. The matching algorithm, by comparing the document structure against the one the DTD requires, is able to identify commonalities and differences. Differences can be due to the presence of extra elements with respect to those the DTD requires and to the absence of required elements. The evaluation of commonalities and differences gives raise to a numerical rank of the structural similarity. Moreover, in the paper, some applications of the matching algorithm are discussed. Specifically, the matching algorithm is exploited for the classification of XML documents against a set of DTDs, the evolution of the DTD structure, the evaluation of structural queries, the selective dissemination of XML documents, and the protection of XML document contents.

论文关键词:Structural similarity,Document classification,Structure evolution,Structural queries,Selective dissemination of documents,Document protection

论文评审过程:Available online 27 May 2003.

论文官网地址:https://doi.org/10.1016/S0306-4379(03)00031-0