摘要
XML是标准通用标记语言(SGML)的子集,又称元语言。利用其基本规则可创建针对特定领域的标记语言。XML允许用户界面和结构化数据相分离,具有不同来源的数据无缝集成等优点。在比较XML数据模型和传统数据库模型优缺点的基础上,根据文件类型定义(DTD),提出了关系数据库与XML结合,组成XML数据库系统的方法。它采用关系数据库反映数据集根节点的子节点,组织根节点的各子树内容,形成数据对象,建立元数据库和对象数据库。基于XML的数据库系统以XML标记数据,解决了数据间的复杂关系。以数据库而不是文件仓储组织数据,有利于管理和维护。
XML is a subset of SGML, and also called meta language. The mark language can be establish using its basal rule aiming at some special fields. XML permit separation of user interface and structural data, and has the advantage that XML can seamlessly integrate data from different sources. Based on the comparing XML data model and conventional database model, and according to DTD, a method of establishing XML database system that combine conventional relative-database with XML was presented. In this method, the descendant node under the root node of the reflecting dataset in relative-database was used to organize the contents of the descendant tree under the root node, to form data objects and establish meta database and object database. In database system based on XML, use XML to mark data, so the complex relationship of data was solved. Using database but not documental storage profits management and maintenance.
出处
《兵工自动化》
2003年第2期37-39,共3页
Ordnance Industry Automation