摘要
在XML文档中应用约束机制,可以保证其数据的规范性、一致性和有效性。文章讨论了两类XML约束,一类是基于XML模式语言XSD或文档类型定义DTD的基本约束,另一类是自定义约束——XML函数依赖,描述了这两类约束及约束验证方式。在探讨XML约束机制的同时,结合图书馆具体业务,给出并分析了几个XML约束和XML文档的实例。
The normalization, consistency and validity of XML document can be ensured when using restrictions. This paper discusses two kinds of restriction, one is an essential restriction based on XSD or DTD, the other is a self-defined restriction, XML function dependency, and also describes these two kinds of restriction and their validating methods. At the same time, this paper gives some examples about XML restriction and XML document in library operation.
出处
《现代图书情报技术》
CSSCI
北大核心
2005年第5期23-26,共4页
New Technology of Library and Information Service