摘要
针对现有映射方法对XML文档格式要求过严等不足,在模型映射方法基础上提出一种XML文档映射关系数据库的新方法。通过给XML文档树做标志,将映射算法转换后的数据放到两张预先定义结构的表进行存储。给出了逻辑数据模型、详细设计、映射算法和实验。实验结果表明,该方法能有效地保持XML文档的结构,能够对存储的数据进行语义检索,适用于任何树型数据结构。
To overcome the issues of the existing mapping methods being too strict to XML format requirements, this paper proposed a new method of mapping XML documents to relational database based on the model-mapping method. By making tokens for XML documents tree, data of coversion from mapping method would be stored into the two pre-defined structure tables. Discussed four aspects of logical data model, detailed design, mapping algorithm and experiment. The results of experiment show its ability of maintaining document structure effectively, performing first level sematic search is achievable, being a general solution for any tree data structure can be applied.
出处
《计算机应用研究》
CSCD
北大核心
2010年第3期951-954,共4页
Application Research of Computers
基金
国家自然科学基金资助项目(60841003)