摘要
利用SQLServer2000中提供的OpenXml,研究了一种XML文档操作方法,使得数据库访问XML文档就像访问关系表与视图一样,基本上不存在经过逐条解析才能进行相关操作的过程。从而带来较多的优点,避免了一些中间环节,使XML的应用更为方便。具体给出了数据插入、数据修改、数据查询的数据表结构和存贮过程源代码,举例说明了OpenXml的实际应用。
An operation method of XML documents is presented by means of OpenXml provided in SQL Server 2000.With the proposed method, RDBMS can visit XML documents as easy as to visit Relationship Table and/or View,without anatomizing the relevant data in XML documents. The structure of date table and the code of saving process are given for data inserting, data editing and data searching. Examples show the practical applications of OpenXml.
出处
《控制工程》
CSCD
2004年第1期91-93,共3页
Control Engineering of China