当前位置: 首页 > 网络学院 > XML相关教程 > DTD > DTD - 摘要
This tutorial has taught you how to describe the structure of an XML document.
这份教程将教你如何描述一份XML文档的结构。
You have learned how to use a DTD to define the legal elements of an XML document, and how the DTD can be declared inside your XML document, or as an external reference.
你已经知道了如何使用DTD来定义XML文档中的合法元素,以及如何将其作为一个外部参数或在你的XML文档中声明DTD。
You have learned how to declare the legal elements, attributes, entities, and CDATA sections for XML documents.
你已经学会了如何声明合法元素、属性、实体以及XML文档的CDATA部分。
You have also seen how to validate an XML document against a DTD.
你也知道了如何通过DTD来验证一份XML文件。
The next step is to learn about XML Schema.
下一步是学习XML Schema。
XML Schema is used to define the legal elements of an XML document, just like a DTD. We think that very soon XML Schemas will be used in most Web applications as a replacement for DTDs.
XML Schema是用于定义XML文档中的合法元素的,如:DTD。我们可以想象一下,在不久的将来,XML Schema将会替代DTD成为网络应用软件的首选。
XML Schema is an XML-based alternative to DTD.
XML Schema是基于XML的,它是DTD的替代品。
Unlike DTD, XML Schemas has support for data types and namespaces.
与DTD不同,XML Schema支持数据类型和命名空间。
If you want to learn more about XML Schema, please visit our XML Schema tutorial.
如果你希望学习更多关于XML Schema的知识,请参阅我们的XML Schema 教程。