XML 被设计用来传输和存储数据。
HTML 被设计用来显示数据。
应该掌握的基础知识
在您继续学习之前,需要对以下知识有基本的了解:
HTML
JavaScript
如果您希望首先学习这些项目,请在我们的 首页 访问这些教程。
什么是 XML?
XML 指可扩展标记语言(EXtensible Markup Language)。
XML 是一种很像HTML的标记语言。
XML 的设计宗旨是传输数据,而不是显示数据。
XML 标签没有被预定义。您需要自行定义标签。
XML 被设计为具有自我描述性。
XML 是 W3C 的推荐标准。
XML 和 HTML 之间的差异
XML 不是 HTML 的替代。
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%9C%A8%E6%88%91%E7%9A%84%E6%89%8B%E6%9C%BA%E4%B8%8A%E5%A6%82%E4%BD%95%E8%83%BD%E5%81%9A%E5%88%B0%E7%9B%91%E6%8E%A7%E4%BB%96%E4%BA%BA%E7%9A%84%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95-%E5%90%8C%E6%AD%A5%E7%9B%91%E6%8E%A7%E8%BD%AF%E4%BB%B6
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E6%9C%89%E6%B2%A1%E6%9C%89%E7%9B%91%E6%8E%A7%E5%88%AB%E4%BA%BA%E6%89%8B%E6%9C%BA%E7%9A%84%E8%BD%AF%E4%BB%B6-2%E4%B8%AA%E6%89%8B%E6%9C%BA%E5%90%8C%E6%97%B6%E7%99%BB%E9%99%86%E9%82%A3%E7%A7%8D
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%9F%A5%E5%88%AB%E4%BA%BA%E9%85%92%E5%BA%97%E5%AE%BE%E9%A6%86%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%E6%98%AF%E4%B8%8D%E6%98%AF%E7%AE%97%E5%81%B7%E7%AA%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E9%9A%90%E7%A7%81%EF%BC%8C%E8%BA%AB%E4%BB%BD%E8%AF%81%E6%9F%A5%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%9C%89%E6%B2%A1%E6%9C%89%E7%9C%9F%E6%AD%A3%E7%9A%84%E9%BB%91%E5%AE%A2%E8%83%BD%E6%9F%A5%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%EF%BC%8C%E9%BB%91%E5%AE%A2%E6%8A%80%E6%9C%AF
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95%E8%83%BD%E6%9F%A5%E5%88%B0%E5%A4%9A%E4%B9%85%E7%9A%84%E8%AE%B0%E5%BD%95%EF%BC%8C%E6%83%B3%E5%81%B7%E5%81%B7%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95%E4%B8%8D%E8%A2%AB%E5%8F%91%E7%8E%B0%EF%BC%8C%E6%9C%89%E6%B2%A1%E6%9C%89%E5%8A%9E%E6%B3%95%EF%BC%9F
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%9C%A8%E9%85%92%E5%BA%97%E5%BC%80%E7%9A%84%E9%92%9F%E7%82%B9%E6%88%BF%E8%AE%B0%E5%BD%95%E8%83%BD%E4%B8%8D%E8%83%BD%E6%9F%A5%E5%88%B0%EF%BC%8C%E5%A9%9A%E5%A7%BB%E5%87%BA%E4%BA%86%E9%97%AE%E9%A2%98%E6%83%B3%E6%9F%A5%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E8%AF%81%E6%98%8E
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%88%91%E6%83%B3%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E9%85%92%E5%BA%97%E4%BD%8F%E5%AE%BF%E8%AE%B0%E5%BD%95%EF%BC%8C%E5%85%A8%E5%9B%BD%E9%85%92%E5%BA%97%E7%B3%BB%E7%BB%9F
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%88%91%E6%83%B3%E6%9F%A5%E8%87%AA%E5%B7%B1%E8%80%81%E5%85%AC%E7%9A%84%E9%85%92%E5%BA%97%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%EF%BC%8C%E5%88%B0%E9%85%92%E5%BA%97%E5%89%8D%E5%8F%B0%E5%AE%A2%E6%9C%8D%E4%BC%9A%E5%B8%AE%E6%88%91%E6%9F%A5%E4%B9%88%EF%BC%9F%E8%BF%99%E5%8A%9E%E6%B3%95%E5%BE%88%E7%AE%80%E5%8D%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A32960875651%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2%EF%BC%8C%E8%BA%AB%E4%BB%BD%E8%AF%81%E5%8F%B7%E5%8F%AF%E4%BB%A5%E6%9F%A5%E5%88%B0%E5%90%97
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E9%85%92%E5%BA%97%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%E5%9C%A8%E6%B2%A1%E6%9C%89%E5%85%AC%E5%AE%89%E6%9C%BA%E4%BC%9A%E5%85%81%E8%AE%B8%E6%83%85%E5%86%B5%E4%B8%8B%E8%83%BD%E6%9F%A5%E5%90%97%EF%BC%9F%E6%80%8E%E4%B9%88%E6%9F%A5%E8%80%81%E5%A9%86%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E8%B7%9F%E8%80%81%E5%A9%86%E5%90%B5%E6%9E%B6%E7%A6%BB%E5%AE%B6%E5%87%BA%E8%B5%B0%EF%BC%8C%E8%83%BD%E4%B8%8D%E8%83%BD%E9%80%9A%E8%BF%87%E6%9F%A5%E5%A5%B9%E7%9A%84%E9%85%92%E5%BA%97%E5%BC%80%E6%88%BF%E8%AE%B0%E5%BD%95%E7%9F%A5%E9%81%93%E5%A5%B9%E5%9C%A8%E9%82%A3%E9%87%8C
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E6%88%91%E8%80%81%E5%A9%86%E8%B7%9F%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95%E5%A6%82%E4%BD%95%E6%9F%A5%E8%AF%A2-%E8%BF%99%E6%96%B9%E6%B3%95%E5%BE%88%E7%AE%80%E5%8D%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E6%9F%A5%E6%B1%9F%E8%8B%8F%E7%9C%81%E5%85%A8%E7%9C%81%E7%9A%84%E9%85%92%E5%BA%97%E5%AE%BE%E9%A6%86%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95-%E6%9F%A5%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E8%BD%AF%E4%BB%B6%E6%9C%89%E6%B2%A1%E6%9C%89
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%81%B7%E5%81%B7%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E4%B8%8D%E8%AE%A9%E5%AF%B9%E6%96%B9%E7%9F%A5%E9%81%93%EF%BC%8C%E7%BD%91%E4%B8%8A%E6%80%8E%E4%B9%88%E6%9F%A5%E5%AE%BE%E9%A6%86%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E8%80%81%E5%85%AC%E5%9C%A8%E8%B7%9F%E5%88%AB%E4%BA%BA%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E5%90%8C%E6%97%B6%E6%9C%89%E4%BB%80%E4%B9%88%E5%8A%9E%E6%B3%95%E8%83%BD%E8%AE%A9%E6%88%91%E4%B9%9F%E7%9C%8B%E5%88%B0-%E7%9B%91%E6%8E%A7%E8%BD%AF%E4%BB%B6
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%A5%EF%BC%8C%EF%BC%8C%E9%BB%91%E5%AE%A2%E7%9A%84%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F%E6%98%AF%E5%A4%9A%E5%B0%91%EF%BC%9F%E9%BB%91%E5%AE%A2%E8%83%BD%E4%B8%8D%E8%83%BD%E5%B8%AE%E6%88%91%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E4%BF%A1%E6%81%AF
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%80%E7%96%91%E8%80%81%E5%85%AC%E5%87%BA%E8%BD%A8%E4%BA%86%E6%80%8E%E4%B9%88%E6%9F%A5%E4%BB%96%E8%B7%9F%E5%88%AB%E4%BA%BA%E5%90%8C%E4%BD%8F%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95-%E9%85%92%E5%BA%97%E7%99%BB%E8%AE%B0%E5%90%8C%E4%BD%8F%E4%BA%BA
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%9C%89%E6%B2%A1%E6%9C%89%E8%83%BD%E6%9F%A5%E5%88%AB%E4%BA%BA%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95%E7%9A%84%E5%8A%9E%E6%B3%95%EF%BC%8C%E6%9C%89%E6%B2%A1%E6%9C%89%E4%BB%80%E4%B9%88%E8%BD%AF%E4%BB%B6%E8%83%BD%E6%9F%A5%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E6%9C%89%E6%B2%A1%E6%9C%89%E8%83%BD%E6%9F%A5%E9%85%92%E5%BA%97%E5%BC%80%E6%88%BF%E8%AE%B0%E5%BD%95%E7%9A%84%E9%AB%98%E6%89%8B%20%E4%B8%93%E4%B8%9A%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95-%E4%B8%8D%E6%BB%A1%E6%84%8F%E4%B8%8D%E6%94%B6%E8%B4%B9
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E8%80%81%E5%85%AC%E5%87%BA%E5%B7%AE%E4%BD%8F%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E6%80%8E%E4%B9%88%E6%9F%A5%E8%AF%A2%EF%BC%8C%E6%95%99%E4%BD%A0%E4%B8%80%E6%8B%9B%E5%8F%AF%E4%BB%A5%E8%87%AA%E5%B7%B1%E6%9F%A5%E8%80%81%E5%85%AC%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E7%9A%84%E6%96%B9%E6%B3%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E6%9F%A5%E8%80%81%E5%A9%86%E5%92%8C%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E6%80%8E%E6%A0%B7%E5%A6%82%E4%BD%95%E7%9B%91%E6%8E%A7%E8%80%81%E5%85%AC%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E6%9F%A5%E4%BB%96%E4%BA%BA%E9%85%92%E5%BA%97%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E7%99%BB%E8%AE%B0%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%B8%80%E6%8B%9B%E6%95%99%E4%BD%A0%E8%80%81%E5%85%AC%E5%87%BA%E8%BD%A8%E5%A6%82%E4%BD%95%E5%90%8C%E6%AD%A5%E7%9B%91%E6%8E%A7%E5%BE%AE%E4%BF%A1
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%85%A8%E5%9B%BD%E6%95%B0%E6%8D%AE%E5%9C%A8%E7%BA%BF%E6%9F%A5%E8%AF%A2%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%85%A8%E5%9B%BD%E4%BA%BA%E6%B0%91%E8%BA%AB%E4%BB%BD%E8%AF%81%E5%85%A5%E4%BD%8F%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%9C%80%E6%96%B0%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E5%9C%A8%E7%BA%BF%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E6%9F%A5%E5%85%A8%E5%9B%BD%E9%85%92%E5%BA%97%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E5%8F%AF%E7%94%A8%E8%BA%AB%E4%BB%BD%E8%AF%81%E5%8F%B7%E7%A0%81%E6%9F%A5%E4%BD%8F%E5%AE%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E5%90%8C%E6%AD%A5%E7%9B%91%E6%8E%A7%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E7%A7%BB%E5%8A%A8%E7%9A%84%E9%80%9A%E8%AF%9D%E8%AE%B0%E5%BD%95%E6%80%8E%E6%A0%B7%E5%8F%AF%E4%BB%A5%E6%9F%A5%E8%AF%A2%E5%88%B0
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E6%9F%A5%E8%AF%A2%E5%85%A8%E5%9B%BD%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%85%A8%E5%9B%BD%E9%85%92%E5%BA%97%E5%BC%80%E8%BF%87%E6%88%BF%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E6%80%8E%E4%B9%88%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BC%80%E6%94%BE%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E6%80%8E%E4%B9%88%E6%9F%A5%E5%AE%BE%E9%A6%86%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%8E%E4%B9%88%E6%89%BE%E5%BE%AE%E4%BF%A1%E5%90%8C%E6%AD%A5%E7%9B%91%E6%8E%A7%E8%BD%AF%E4%BB%B6
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E8%AF%9A%E4%BF%A1%E9%BB%91%E5%AE%A2%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E6%89%8B%E6%9C%BA%E9%80%9A%E8%AF%9D%E8%AE%B0%E5%BD%95%E6%80%8E%E4%B9%88%E6%9F%A5%C2%A0%C2%A0%E7%AE%80%E5%8D%95%E6%96%B9%E4%BE%BF
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%8E%E6%A0%B7%E5%8F%AF%E4%BB%A5%E6%8E%A5%E6%94%B6%E8%80%81%E5%A9%86%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%B8%80%E6%8B%9B%E6%95%99%E4%BD%A0%E5%A6%82%E4%BD%95%E7%BD%91%E4%B8%8A%E6%9F%A5%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E8%80%81%E5%A9%86%E7%9A%84%E5%BE%AE%E4%BF%A1%E5%8F%AF%E4%BB%A5%E5%90%8C%E6%AD%A5%E6%8E%A5%E6%94%B6%E7%9B%91%E6%8E%A7%E5%90%97
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%93%AA%E9%87%8C%E5%8F%AF%E4%BB%A5%E6%9F%A5%E5%88%AB%E4%BA%BA%E9%85%92%E5%BA%97%E7%9A%84%E5%BC%80%E6%94%BE%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E5%A6%82%E4%BD%95%E6%9F%A5%E8%AF%A2%E8%80%81%E5%85%AC%E7%9A%84%E6%89%8B%E6%9C%BA%E9%80%9A%E8%AF%9D%E6%B8%85%E5%8D%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E5%9C%A8%E7%BA%BF%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E5%90%8C%E6%AD%A5%E6%8E%A5%E6%94%B6%E5%88%AB%E4%BA%BA%E6%89%8B%E6%9C%BA%E4%BF%A1%E6%81%AF%E5%BE%AE%E4%BF%A1%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%BB%96%E4%BA%BA%E9%85%92%E5%BA%97%E5%AE%BE%E9%A6%86%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E5%8F%AF%E4%BB%A5%E6%9F%A5%E8%AF%A2%E5%90%97
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%B8%80%E6%8B%9B%E6%95%99%E4%BD%A0%E6%9F%A5%E5%85%A8%E9%83%A8%E5%A5%B9%E9%85%92%E5%BA%97%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%8E%E6%A0%B7%E6%9F%A5%E8%AF%A2%E7%9F%AD%E4%BF%A1%E8%AE%B0%E5%BD%95%E5%8F%8A%E9%85%92%E5%BA%97%E5%AE%BE%E9%A6%86%E7%9A%84%E4%BD%8F%E5%AE%BF%E4%BF%A1%E6%81%AF
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%B8%80%E6%8B%9B%E6%95%99%E4%BD%A0%E5%88%A0%E9%99%A4%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E5%AE%BE%E9%A6%86%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%B8%AE%E4%BD%A0%E5%A6%82%E4%BD%95%E9%9A%8F%E6%97%B6%E7%9B%91%E6%8E%A7%E6%8E%A5%E6%94%B6%E5%88%AB%E4%BA%BA%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%85%AC%E5%AE%89%E5%B1%80%E6%80%8E%E4%B9%88%E6%9F%A5%E5%BC%80%E7%9A%84%E6%88%BF%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2
XML 和 HTML 为不同的目的而设计:
XML 被设计用来传输和存储数据,其焦点是数据的内容。
HTML 被设计用来显示数据,其焦点是数据的外观。
HTML 旨在显示信息,而 XML 旨在传输信息。
XML 不会做任何事情
也许这有点难以理解,但是 XML 不会做任何事情。XML 被设计用来结构化、存储以及传输信息。
下面实例是 Jani 写给 Tove 的便签,存储为 XML:
<note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>
HTML 被设计用来显示数据。
应该掌握的基础知识
在您继续学习之前,需要对以下知识有基本的了解:
HTML
JavaScript
如果您希望首先学习这些项目,请在我们的 首页 访问这些教程。
什么是 XML?
XML 指可扩展标记语言(EXtensible Markup Language)。
XML 是一种很像HTML的标记语言。
XML 的设计宗旨是传输数据,而不是显示数据。
XML 标签没有被预定义。您需要自行定义标签。
XML 被设计为具有自我描述性。
XML 是 W3C 的推荐标准。
XML 和 HTML 之间的差异
XML 不是 HTML 的替代。
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%9C%A8%E6%88%91%E7%9A%84%E6%89%8B%E6%9C%BA%E4%B8%8A%E5%A6%82%E4%BD%95%E8%83%BD%E5%81%9A%E5%88%B0%E7%9B%91%E6%8E%A7%E4%BB%96%E4%BA%BA%E7%9A%84%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95-%E5%90%8C%E6%AD%A5%E7%9B%91%E6%8E%A7%E8%BD%AF%E4%BB%B6
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E6%9C%89%E6%B2%A1%E6%9C%89%E7%9B%91%E6%8E%A7%E5%88%AB%E4%BA%BA%E6%89%8B%E6%9C%BA%E7%9A%84%E8%BD%AF%E4%BB%B6-2%E4%B8%AA%E6%89%8B%E6%9C%BA%E5%90%8C%E6%97%B6%E7%99%BB%E9%99%86%E9%82%A3%E7%A7%8D
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%9F%A5%E5%88%AB%E4%BA%BA%E9%85%92%E5%BA%97%E5%AE%BE%E9%A6%86%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%E6%98%AF%E4%B8%8D%E6%98%AF%E7%AE%97%E5%81%B7%E7%AA%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E9%9A%90%E7%A7%81%EF%BC%8C%E8%BA%AB%E4%BB%BD%E8%AF%81%E6%9F%A5%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%9C%89%E6%B2%A1%E6%9C%89%E7%9C%9F%E6%AD%A3%E7%9A%84%E9%BB%91%E5%AE%A2%E8%83%BD%E6%9F%A5%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%EF%BC%8C%E9%BB%91%E5%AE%A2%E6%8A%80%E6%9C%AF
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95%E8%83%BD%E6%9F%A5%E5%88%B0%E5%A4%9A%E4%B9%85%E7%9A%84%E8%AE%B0%E5%BD%95%EF%BC%8C%E6%83%B3%E5%81%B7%E5%81%B7%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95%E4%B8%8D%E8%A2%AB%E5%8F%91%E7%8E%B0%EF%BC%8C%E6%9C%89%E6%B2%A1%E6%9C%89%E5%8A%9E%E6%B3%95%EF%BC%9F
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%9C%A8%E9%85%92%E5%BA%97%E5%BC%80%E7%9A%84%E9%92%9F%E7%82%B9%E6%88%BF%E8%AE%B0%E5%BD%95%E8%83%BD%E4%B8%8D%E8%83%BD%E6%9F%A5%E5%88%B0%EF%BC%8C%E5%A9%9A%E5%A7%BB%E5%87%BA%E4%BA%86%E9%97%AE%E9%A2%98%E6%83%B3%E6%9F%A5%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E8%AF%81%E6%98%8E
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%88%91%E6%83%B3%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E9%85%92%E5%BA%97%E4%BD%8F%E5%AE%BF%E8%AE%B0%E5%BD%95%EF%BC%8C%E5%85%A8%E5%9B%BD%E9%85%92%E5%BA%97%E7%B3%BB%E7%BB%9F
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%88%91%E6%83%B3%E6%9F%A5%E8%87%AA%E5%B7%B1%E8%80%81%E5%85%AC%E7%9A%84%E9%85%92%E5%BA%97%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%EF%BC%8C%E5%88%B0%E9%85%92%E5%BA%97%E5%89%8D%E5%8F%B0%E5%AE%A2%E6%9C%8D%E4%BC%9A%E5%B8%AE%E6%88%91%E6%9F%A5%E4%B9%88%EF%BC%9F%E8%BF%99%E5%8A%9E%E6%B3%95%E5%BE%88%E7%AE%80%E5%8D%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A32960875651%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2%EF%BC%8C%E8%BA%AB%E4%BB%BD%E8%AF%81%E5%8F%B7%E5%8F%AF%E4%BB%A5%E6%9F%A5%E5%88%B0%E5%90%97
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E9%85%92%E5%BA%97%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%E5%9C%A8%E6%B2%A1%E6%9C%89%E5%85%AC%E5%AE%89%E6%9C%BA%E4%BC%9A%E5%85%81%E8%AE%B8%E6%83%85%E5%86%B5%E4%B8%8B%E8%83%BD%E6%9F%A5%E5%90%97%EF%BC%9F%E6%80%8E%E4%B9%88%E6%9F%A5%E8%80%81%E5%A9%86%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E8%B7%9F%E8%80%81%E5%A9%86%E5%90%B5%E6%9E%B6%E7%A6%BB%E5%AE%B6%E5%87%BA%E8%B5%B0%EF%BC%8C%E8%83%BD%E4%B8%8D%E8%83%BD%E9%80%9A%E8%BF%87%E6%9F%A5%E5%A5%B9%E7%9A%84%E9%85%92%E5%BA%97%E5%BC%80%E6%88%BF%E8%AE%B0%E5%BD%95%E7%9F%A5%E9%81%93%E5%A5%B9%E5%9C%A8%E9%82%A3%E9%87%8C
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E6%88%91%E8%80%81%E5%A9%86%E8%B7%9F%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95%E5%A6%82%E4%BD%95%E6%9F%A5%E8%AF%A2-%E8%BF%99%E6%96%B9%E6%B3%95%E5%BE%88%E7%AE%80%E5%8D%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E6%9F%A5%E6%B1%9F%E8%8B%8F%E7%9C%81%E5%85%A8%E7%9C%81%E7%9A%84%E9%85%92%E5%BA%97%E5%AE%BE%E9%A6%86%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95-%E6%9F%A5%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E8%BD%AF%E4%BB%B6%E6%9C%89%E6%B2%A1%E6%9C%89
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%81%B7%E5%81%B7%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E4%B8%8D%E8%AE%A9%E5%AF%B9%E6%96%B9%E7%9F%A5%E9%81%93%EF%BC%8C%E7%BD%91%E4%B8%8A%E6%80%8E%E4%B9%88%E6%9F%A5%E5%AE%BE%E9%A6%86%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E8%80%81%E5%85%AC%E5%9C%A8%E8%B7%9F%E5%88%AB%E4%BA%BA%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E5%90%8C%E6%97%B6%E6%9C%89%E4%BB%80%E4%B9%88%E5%8A%9E%E6%B3%95%E8%83%BD%E8%AE%A9%E6%88%91%E4%B9%9F%E7%9C%8B%E5%88%B0-%E7%9B%91%E6%8E%A7%E8%BD%AF%E4%BB%B6
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%A5%EF%BC%8C%EF%BC%8C%E9%BB%91%E5%AE%A2%E7%9A%84%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F%E6%98%AF%E5%A4%9A%E5%B0%91%EF%BC%9F%E9%BB%91%E5%AE%A2%E8%83%BD%E4%B8%8D%E8%83%BD%E5%B8%AE%E6%88%91%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E4%BF%A1%E6%81%AF
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%80%E7%96%91%E8%80%81%E5%85%AC%E5%87%BA%E8%BD%A8%E4%BA%86%E6%80%8E%E4%B9%88%E6%9F%A5%E4%BB%96%E8%B7%9F%E5%88%AB%E4%BA%BA%E5%90%8C%E4%BD%8F%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95-%E9%85%92%E5%BA%97%E7%99%BB%E8%AE%B0%E5%90%8C%E4%BD%8F%E4%BA%BA
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%9C%89%E6%B2%A1%E6%9C%89%E8%83%BD%E6%9F%A5%E5%88%AB%E4%BA%BA%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95%E7%9A%84%E5%8A%9E%E6%B3%95%EF%BC%8C%E6%9C%89%E6%B2%A1%E6%9C%89%E4%BB%80%E4%B9%88%E8%BD%AF%E4%BB%B6%E8%83%BD%E6%9F%A5%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E6%9C%89%E6%B2%A1%E6%9C%89%E8%83%BD%E6%9F%A5%E9%85%92%E5%BA%97%E5%BC%80%E6%88%BF%E8%AE%B0%E5%BD%95%E7%9A%84%E9%AB%98%E6%89%8B%20%E4%B8%93%E4%B8%9A%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95-%E4%B8%8D%E6%BB%A1%E6%84%8F%E4%B8%8D%E6%94%B6%E8%B4%B9
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E8%80%81%E5%85%AC%E5%87%BA%E5%B7%AE%E4%BD%8F%E7%9A%84%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E6%80%8E%E4%B9%88%E6%9F%A5%E8%AF%A2%EF%BC%8C%E6%95%99%E4%BD%A0%E4%B8%80%E6%8B%9B%E5%8F%AF%E4%BB%A5%E8%87%AA%E5%B7%B1%E6%9F%A5%E8%80%81%E5%85%AC%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E7%9A%84%E6%96%B9%E6%B3%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E6%9F%A5%E8%80%81%E5%A9%86%E5%92%8C%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E6%80%8E%E6%A0%B7%E5%A6%82%E4%BD%95%E7%9B%91%E6%8E%A7%E8%80%81%E5%85%AC%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E6%9F%A5%E4%BB%96%E4%BA%BA%E9%85%92%E5%BA%97%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E7%99%BB%E8%AE%B0%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%B8%80%E6%8B%9B%E6%95%99%E4%BD%A0%E8%80%81%E5%85%AC%E5%87%BA%E8%BD%A8%E5%A6%82%E4%BD%95%E5%90%8C%E6%AD%A5%E7%9B%91%E6%8E%A7%E5%BE%AE%E4%BF%A1
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%85%A8%E5%9B%BD%E6%95%B0%E6%8D%AE%E5%9C%A8%E7%BA%BF%E6%9F%A5%E8%AF%A2%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%85%A8%E5%9B%BD%E4%BA%BA%E6%B0%91%E8%BA%AB%E4%BB%BD%E8%AF%81%E5%85%A5%E4%BD%8F%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%9C%80%E6%96%B0%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E5%9C%A8%E7%BA%BF%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E6%9F%A5%E5%85%A8%E5%9B%BD%E9%85%92%E5%BA%97%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E5%8F%AF%E7%94%A8%E8%BA%AB%E4%BB%BD%E8%AF%81%E5%8F%B7%E7%A0%81%E6%9F%A5%E4%BD%8F%E5%AE%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E5%90%8C%E6%AD%A5%E7%9B%91%E6%8E%A7%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E7%A7%BB%E5%8A%A8%E7%9A%84%E9%80%9A%E8%AF%9D%E8%AE%B0%E5%BD%95%E6%80%8E%E6%A0%B7%E5%8F%AF%E4%BB%A5%E6%9F%A5%E8%AF%A2%E5%88%B0
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E6%9F%A5%E8%AF%A2%E5%85%A8%E5%9B%BD%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%85%A8%E5%9B%BD%E9%85%92%E5%BA%97%E5%BC%80%E8%BF%87%E6%88%BF%E5%85%A5%E4%BD%8F%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E6%80%8E%E4%B9%88%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E5%BC%80%E6%94%BE%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E6%80%8E%E4%B9%88%E6%9F%A5%E5%AE%BE%E9%A6%86%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%8E%E4%B9%88%E6%89%BE%E5%BE%AE%E4%BF%A1%E5%90%8C%E6%AD%A5%E7%9B%91%E6%8E%A7%E8%BD%AF%E4%BB%B6
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E7%BD%91%E4%B8%8A%E8%AF%9A%E4%BF%A1%E9%BB%91%E5%AE%A2%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E6%9F%A5%E5%88%AB%E4%BA%BA%E7%9A%84%E6%89%8B%E6%9C%BA%E9%80%9A%E8%AF%9D%E8%AE%B0%E5%BD%95%E6%80%8E%E4%B9%88%E6%9F%A5%C2%A0%C2%A0%E7%AE%80%E5%8D%95%E6%96%B9%E4%BE%BF
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%8E%E6%A0%B7%E5%8F%AF%E4%BB%A5%E6%8E%A5%E6%94%B6%E8%80%81%E5%A9%86%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%B8%80%E6%8B%9B%E6%95%99%E4%BD%A0%E5%A6%82%E4%BD%95%E7%BD%91%E4%B8%8A%E6%9F%A5%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E8%80%81%E5%A9%86%E7%9A%84%E5%BE%AE%E4%BF%A1%E5%8F%AF%E4%BB%A5%E5%90%8C%E6%AD%A5%E6%8E%A5%E6%94%B6%E7%9B%91%E6%8E%A7%E5%90%97
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%93%AA%E9%87%8C%E5%8F%AF%E4%BB%A5%E6%9F%A5%E5%88%AB%E4%BA%BA%E9%85%92%E5%BA%97%E7%9A%84%E5%BC%80%E6%94%BE%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%95%99%E4%BD%A0%E5%A6%82%E4%BD%95%E6%9F%A5%E8%AF%A2%E8%80%81%E5%85%AC%E7%9A%84%E6%89%8B%E6%9C%BA%E9%80%9A%E8%AF%9D%E6%B8%85%E5%8D%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E5%9C%A8%E7%BA%BF%E6%9F%A5%E8%AF%A2
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%A6%82%E4%BD%95%E5%90%8C%E6%AD%A5%E6%8E%A5%E6%94%B6%E5%88%AB%E4%BA%BA%E6%89%8B%E6%9C%BA%E4%BF%A1%E6%81%AF%E5%BE%AE%E4%BF%A1%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%BB%96%E4%BA%BA%E9%85%92%E5%BA%97%E5%AE%BE%E9%A6%86%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E5%8F%AF%E4%BB%A5%E6%9F%A5%E8%AF%A2%E5%90%97
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%B8%80%E6%8B%9B%E6%95%99%E4%BD%A0%E6%9F%A5%E5%85%A8%E9%83%A8%E5%A5%B9%E9%85%92%E5%BA%97%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E6%80%8E%E6%A0%B7%E6%9F%A5%E8%AF%A2%E7%9F%AD%E4%BF%A1%E8%AE%B0%E5%BD%95%E5%8F%8A%E9%85%92%E5%BA%97%E5%AE%BE%E9%A6%86%E7%9A%84%E4%BD%8F%E5%AE%BF%E4%BF%A1%E6%81%AF
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E4%B8%80%E6%8B%9B%E6%95%99%E4%BD%A0%E5%88%A0%E9%99%A4%E5%BC%80%E8%BF%87%E6%88%BF%E8%AE%B0%E5%BD%95%E9%85%92%E5%BA%97%E8%AE%B0%E5%BD%95%E5%AE%BE%E9%A6%86%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%B8%AE%E4%BD%A0%E5%A6%82%E4%BD%95%E9%9A%8F%E6%97%B6%E7%9B%91%E6%8E%A7%E6%8E%A5%E6%94%B6%E5%88%AB%E4%BA%BA%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95
https://v.qq.com/x/search/?q=%E5%8A%A0%E6%89%A329608756%E5%85%AC%E5%AE%89%E5%B1%80%E6%80%8E%E4%B9%88%E6%9F%A5%E5%BC%80%E7%9A%84%E6%88%BF%E8%AE%B0%E5%BD%95%E6%9F%A5%E8%AF%A2
XML 和 HTML 为不同的目的而设计:
XML 被设计用来传输和存储数据,其焦点是数据的内容。
HTML 被设计用来显示数据,其焦点是数据的外观。
HTML 旨在显示信息,而 XML 旨在传输信息。
XML 不会做任何事情
也许这有点难以理解,但是 XML 不会做任何事情。XML 被设计用来结构化、存储以及传输信息。
下面实例是 Jani 写给 Tove 的便签,存储为 XML:
<note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>