首页 | 本学科首页   官方微博 | 高级检索  
     

XML Schema与DTD的比较及应用
引用本文:陈赫贝,王念桥.XML Schema与DTD的比较及应用[J].微机发展,2004,14(1):66-69.
作者姓名:陈赫贝  王念桥
作者单位:武汉理工大学远程监控所,湖北武汉430070
摘    要:XML是目前广泛应用的数据交换标准,而模式是应用XML进行数据交换的正确性的保证机制之一。模式详细描述了文档的结构,确保文档的元素和属性等的正确性。XML Schema和DTD是其中应用最广泛的模式。文中详细比较了两者的异同,并指出了各自的局限及最佳的应用,DTD非常适合于文本密集型XML文档,而XML Schema更适合于数据密集型XML文档。

关 键 词:数据交换标准  XMLSchema  DTD  数据类型  关系数据库  数据规则
文章编号:1005-3751(2004)01-0066-03
修稿时间:2003年7月12日

Comparing DTD and XML Schema
CHEN He-bei,WANG Nian-qiao.Comparing DTD and XML Schema[J].Microcomputer Development,2004,14(1):66-69.
Authors:CHEN He-bei  WANG Nian-qiao
Abstract:XML is a data exchange standard that is widely used in the presence.And using schemas to validate XML documents is a mechanism to make data exchanges correct.The structure of document is described by schema in detail, so its validity is guaranteed. XML Schema and DTD are the most widely used schemas.Most of the major differences between XML Schema and DTD have been covered in detail in this article.And,as a conclusion,the best uses and shortages of both XML Schema and DTD have been discussed.DTD is fit for text dense documents while Schema for data dense.
Keywords:XML  Schema  DTD  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号