gpt4 book ai didi

xml - 我应该学习 XML 1.0 还是 XML 1.1?

转载 作者:数据小太阳 更新时间:2023-10-29 01:38:29 29 4
gpt4 key购买 nike

我知道格式正确的 XML 1.1 不一定是格式正确的 XML 1.0,反之亦然。

我想正式学习 xml,我想知道我应该学习 XML 1.0 还是 XML 1.1?我的意思是学习 XML 1.0 会更有效还是学习 XML 1.1 会更有效?

我的意思是我当然知道最好同时阅读它们..但我真的只有时间阅读其中一个,所以哪个会“更好”(对我来说更有用,我作为普通程序员) ?

最佳答案

除非您有使用 XML 1.1 的特定要求(这种情况很少见),否则您应该阅读 XML 1.0 Recommendation。

Tim Bray ,该规范的原始编辑之一,创建了一个出色的注释版本,您可以在 http://www.xml.com/axml/axml.html 找到它。

有关 XML 1.1 的更多信息/意见,请查看 Elliotte Rusty Harold 在这里所说的话: http://www.ibiblio.org/xml/books/effectivexml/chapters/03.html
摘要:

Everything you need to know about XML 1.1 can be summed up in two rules:

  1. Don't use it.
  2. (For experts only) If you speak Mongolian, Yi, Cambodian, Amharic, Dhivehi, Burmese or a very few other languages and you want to write your markup (not your text but your markup) in these languages, then you can set the version attribute of the XML declaration to 1.1. Otherwise, refer to rule 1.

关于xml - 我应该学习 XML 1.0 还是 XML 1.1?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6260975/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com