计算机工程 ›› 2007, Vol. 33 ›› Issue (02): 62-64.doi: 10.3969/j.issn.1000-3428.2007.02.021

• 软件技术与数据库 • 上一篇    下一篇

基于LDAP的XML数据管理研究

饶 辉,贺贵明   

  1. (武汉大学计算机学院,武汉 430072)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-01-20 发布日期:2007-01-20

Research on Management of XML Data Based on LDAP

RAO Hui, HE Guiming   

  1. (School of Computer, Wuhan University, Wuhan 430072)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-01-20 Published:2007-01-20

摘要: 提出一种将XML数据解析为DOM节点后,把DOM节点映射为LDAP目录项,使用LDAP服务器储存XML数据的方案;在LDAP目录服务上实现了对XML数据的XPath查询。实验数据说明了方案的可行性。对比实验表明方案除了具有较快的储存速度,在LDAP上实现的XPath查询效率高于传统的基于DOM的XPath查询效率。

关键词: LDAP, XML, DOM, XPath

Abstract: This paper proposes an approach to store XML data in LDAP server through mapping DOM nodes to LDAP entries. It also implements XPath queries in LDAP directory service. The feasibility of the approach, as well as its comparatively high store rate is backed up by experimental data. The more important thing is that the efficiency of evaluation XPath queries in LDAP system is better than traditional DOM-based implementations, which is also supported by the comparative experiments.

Key words: LDAP, XML, DOM, XPath