当前位置: 首页 > 网络学院 > XML相关教程 > DTD > DTD - 摘要

DTD
DTD - 介绍
DTD - XML 基本组件群
DTD - 元素
DTD - 属性
DTD - 实体
DTD - 校验
DTD - 案例
DTD - 摘要
DTD - 元素和属性

DTD - 摘要


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 547 ::
收藏到网摘: n/a

DTD Summary
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文件。


Now You Know DTD, What's Next?
现在你已经学会了DTD,那么接下来,你该学些什么知识呢?

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 教程

评论 (0) All

登陆 | 还没注册?