摘要
为保证标准通用标记语言、可扩展标记语言文档格式正确,可通过验证判断文档是否有效。验证是把XML文档的结构、标记名称、数据类型等与预先设定的要求作比较的过程。预先设定的要求被保存在模式文档中。W3C标准制定了两种XML的验证机制(模式文档):DTD(Document Type Definition)和XSD(XML Schema Definition)。
In order to ensure the standard generalized markup language, extensible markup language document format is correct,can be verified by the judgment document is valid. Verification is the structure, the tag name, data type of XML document and thepreset requirements for comparison process. The preset requirements are stored in the document model. W3 C standard authentica-tion mechanism of two kinds of XML(schema) :DTD(Document Type Definition)和XSD(XML Schema Definition)。
作者
陈娟
CHEN Juan (Yangtze University College of Technology & Engineering, Jingzhou 434020,China)
出处
《电脑知识与技术》
2015年第5期82-83,共2页
Computer Knowledge and Technology