中英文对照学习认识一下XML语言 - xml技术 -

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

时间:2013-04-09 12:57:25   来源:   评论:加载中...   点击:加载中...
XML was designed to describe data and to focus on what ...

The following example is a note to Tove from Jani, stored as XML:
下面是个XML例子

<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>

<body>Don't forget me this weekend!</body>
</note>
The note has a header and a message body. It also has sender and receiver information. But still, this XML document does not DO anything. It is just pure information wrapped in XML tags. Someone must write a piece of software to send, receive or display it.
这段文档有个首部和 信息的主体~,它同时也有发送者和接受者的信息。但是尽管如此,这个XML文档同样不能够输出任何数据~,它纯粹只是封装在XML标签中的信息。你必需编写一份软件才可可以发送,接收或者是显示这段信息。


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

XML is free and extensible [ XML是可以自由扩展的 ]
XML tags are not predefined. You must "invent" your own tags.
XML的标签是不能够预先定义的,你必需“创造”你自己的标签

The tags used to mark up HTML documents and the structure of HTML documents are predefined. The author of HTML documents can only use tags that are defined in the HTML standard (like <p>, <h1>, etc.).
这个标签常用与把 HTML 文档 标出~并且HTML文档的结构是要被预先定义的,HTML文档建立者仅仅能使用 定义在标准HTML当中的标签(像 <p>, <h1>, etc.)。

XML allows the author to define his own tags and his own document structure.
XML 允许 创造者定义自己的标签 和自己的文档结构。

The tags in the example above (like <to> and <from>) are not defined in any XML standard. These tags are "invented" by the author of the XML document.
在上面例子中的标签(像 <to> 和 <from>)不能够在任何标准的XML当中定义 这些标签是这个XML文档的作者所“创造”的


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

XML is a complement to HTML [ XML是对HTML的一种补充 ]
XML is not a replacement for HTML.
XML还不能够取代HTML的位置

It is important to understand that XML is not a replacement for HTML. In future Web development it is most likely that XML will be used to describe the data, while HTML will be used to format and display the same data.
理解XML目前是不能取代HTML的位置这是很重要的,在将来万维网的发展很有可能是XML被用描述数据,而HTML则被用来布局和显示这些同样的数据。

My best description of XML is this: XML is a cross-platform, software and hardware independent tool for transmitting information.
对于XML的最佳描述是这样的:XML是 跨平台的~,在传输信息时软件和硬件是相互独立的工具。


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

XML in future Web development [ XML在未来万维网发展中的展望 ]
XML is going to be everywhere.
XML将延伸到各个地方

We have been participating in XML development since its creation. It has been amazing to see how quickly the XML standard has been developed and how quickly a large number of software vendors have adopted the standard.
自从XML被创造之日起我们就一直参与XML的发展。我们很惊讶的发现XML标准的发展是多么的迅速,一大批软件的开发商已经采用了这项标准。

We strongly believe that XML will be as important to the future of the Web as HTML has been to the foundation of the Web and that XML will be the most common tool for all data manipulation and data transmission.
我们坚信XML在将来会变的和已经成为万维网基础的HTML一样重要~~,而且XML将会成为所有操作和传输数据最为普遍的工具


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

XML Joke [ XML 笑话 ]
Question: When should I use XML?
问: 我该在什么时候使用XML?

Answer: When you need a buzzword in your resume.
答: 你可以在你的个人简历中写上你会XML。



相关热词搜索:

 
上一篇:应当如何使用XML语言
下一篇:如何在HTML中引用XML数据
收藏 将此文推荐给朋友
分享到: