摘要
基于字符串表达式的XPath路径语言可以非常高效的定位到XML数据中的指定位置,从而灵活的选择文档的组成成份.结合实际项目,讨论了如何使用XPath完成XML数据的查询.首先介绍了相关技术及XPath的原理和特性,论述了在Java中使用XPath的方法,然后结合"XML查询系统"的实现,讨论了XPath语言在XML查询中的应用,最后进行了总结.
XPath based on the character-string expressions can locate a position of XML data with high efficiency, offering elastic choices of documents' components and discussing the query of XML data through XPath. The related techniques, principles and attributes of XPath are first introduced, and then the methods of XPath used in Java are discussed, and the applications of XPath in XML query by the implementations of XML query system. Finally, a conclusion is made.
出处
《重庆三峡学院学报》
2008年第3期51-53,67,共4页
Journal of Chongqing Three Gorges University
基金
华东交通大学校立科研基金(No.06ZKXX05)