首页 > 开发 > XML > 正文

中英文对照学习认识一下XML语言

2024-09-05 20:54:05
字体:
来源:转载
供稿:网友

XML was designed to describe data and to focus on what data is.
XML 的产生是用来描述数据并关注数据的实质是什么

HTML was designed to display data and to focus on how data looks.
HTML 则是用来显示数据,它所关注的是数据显示的效果

What You Should Already Know [ 哪些是你应该已经知道的 ]
Before you continue you should have a basic understanding of the following:
在你继续前~你应该对以下所列有个基本的了解~:

HTML / XHTML
JavaScript 或 VBScript
If you want to study these subjects first, find the tutorials on our
如果你想先学习这些主题~请先在主页上找到指南这一快内容


--------------------------------------------------------------------------------

What is XML? [ 什么是XML? ]
XML stands for EXtensible Markup Language
XML is a markup language much like HTML
XML was designed to describe data
XML tags are not predefined. You must define your own tags
XML uses a Document Type Definition (DTD) or an XML Schema to describe the data
XML with a DTD or XML Schema is designed to be self-descriptive
XML is a W3C Recommendation
XML 就是 EXtensible Markup Language (支持可扩展标记语言)
XML 是一种 标记语言 类似HTML语言
XML 是被用来 描述数据 的
XML 的标签都没被定义。你必须 对你的标签进行定义
XML 使用 文件类型定义 (DTD) 或是 XML Schema(模型) 对数据进行描述
XML中加入 DTD 或者XML Schema 可以被用来 自我描述
XML 是W3C组织(World Wode Web Consortium)所推荐的

--------------------------------------------------------------------------------

XML is a W3C Recommendation [ XML是 W3C 推荐的 ]
The Extensible Markup Language (XML) became a W3C Recommendation 10. February 1998.
可扩展标记语言(XML)在1998年2月10日被W3C 所推荐


--------------------------------------------------------------------------------

The main difference between XML and HTML [ XML 和HTML 之间的主要区别 ]
XML was designed to carry data.
XML 是被用来传送数据的

XML is not a replacement for HTML.
XML 还不能代替 HTML 的位置 XML and HTML were designed with different goals:
XML 和HTML有各自不同的用途:

XML was designed to describe data and to focus on what data is.
XML 的产生是用来描述数据并关注数据的实质是什么
HTML was designed to display data and to focus on how data looks.
HTML 则是用来显示数据,它所关注的是数据显示的效果

HTML is about displaying information, while XML is about describing information.
HTML 是用来显示信息~而XML则是来描述信息的


--------------------------------------------------------------------------------

XML does not DO anything [ 什么也不做 ]
XML was not designed to DO anything.
被设计成什么都不做的。

Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store and to send information.
这可能有一点难以理解~但是XML的确是不能输出任何数据的~XML 是用与建立结构,存和发送信息的。

共2页上一页12下一页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表