检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中山大学计算机软件研究所,广东广州510275
出 处:《中山大学学报(自然科学版)》2005年第A02期111-115,共5页Acta Scientiarum Naturalium Universitatis Sunyatseni
摘 要:XML作为交换资料的标准,广泛应用于分布式系统中,但是在使用XMLDOM来处理大型XML文件时,会占用过多的存储器资源并需要更多的CPU时间。提出一种基于SAX模型的XML文档更新算法,利用SAX模型占用时间和空间少的优点进行文档的更新。形式化地定义了XML文档的更新脚本,使用X_Path来表示所更新的文档节点,在XML文档的SAX扫描过程中,生成XML文档的节点的X_Path,从而判断文档节点是否需要更新,然后通过将更新脚本应用到需更新文档实现文档更新。The eXtensible Markup Language (XML) is becoming the new standard for data exchange over the Internet. But updating large XML document will take very much memory and time. This paper proposes an XML update algorithm based on SAX model, which can decrease memory and time take for updating XML document. Define the update script for XML document, and use X-Path to locate XML document node. While XML SAX scanning, it generates X-Path of document node and uses the X-Path to judge whether the node needs to be updated. The algorithm will apply update script to the destination XML document to updated XML document dynamically.
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.223.23.30