注解和xml形式有什么区别
XML:可扩展标记语言 (XML: Extensible Markup Language)
XML is an abbreviation of Extensible Markup Language. It is a markup language and also a platform-independent language that was created and designed to transfer, transact and accumulate data in a particular format that can be operated by a series of operations through the intelligence of humans and machines. To encode documents in that particular format, it states the order of instructions.
XML是可扩展标记语言的缩写 。 它是一种标记语言,也是一种与平台无关的语言,其创建和设计为以特定格式传输,处理和累积数据,可以通过一系列操作通过人和机器的智能来进行操作。 要以该特定格式对文档进行编码,它说明了指令的顺序。
Image source: https://www.freepik.com/free-icon/xml-file-format-symbol_742324.htm
图片来源:https://www.freepik.com/free-icon/xml-file-format-symbol_742324.htm
目的 (Objective)
The chief objectives of XML's design are,
XML设计的主要目标是
Simplicity
简单
Generality
概论
Usability
易用性
历史 (History)
In 1998, on the 10th of Feb, XML was launched in the late 90's and became a recommendation of the World Wide Web Consortium. Approximately 150 members Interest Group supported the working group of eleven members who compiled the XML.
1998年2月10日,XML在90年代末发布,并成为万维网联盟的推荐。 大约150个成员的兴趣小组支持了由11个成员组成的XML工作组。
In 1997, the 4rth of December, Michael Sperberg-McQueen compiled a list of accounts of design decisions and their set of logical reasons. The empty-element <empty /> syntax and the name "XML" were remarkably contributed by James Clark who worked as Technical Lead of the Working Group. The design was achieved using an amalgamation of email and weekly teleconferences, which created a never meeting situation for an XML working group. In 1996, between August and November, the significant decisions of the design were reached in a short break of extreme work, when the first Working Draft of the XML specification was prepared and issued. Additionally, through 1997, design work continued, and in 1998 on February 10, XML 1.0 became a World Wide Web Consortium Recommendation.
1997年,即12月4日, Michael Sperberg-McQueen编制了一份有关设计决策及其逻辑原因的说明清单。 空元素<empty />语法和名称“ XML”是工作组技术负责人James Clark的杰出贡献。 通过合并电子邮件和每周一次电话会议来实现设计,这给XML工作组带来了从未遇到过的情况。 在1996年的8月至11月之间,在编写并发布XML规范的第一个工作草案时,在短暂的极端工作中做出了重大的设计决策。 此外,直到1997年,设计工作仍在继续,1998年2月10日,XML 1.0成为了万维网联盟建议。
优点 (Advantages)
XML is platform-independent and programming language independent, therefore on any system; it can be used and supports the change in technology, whenever that occurs.
XML在任何系统上都独立于平台和编程语言。 无论何时发生,它都可以使用并支持技术的变化。
Unicode is supported by XML, which is an international encoding standard use with different languages and scripts. This specification enables XML to transact any information which is written in any human language.
XML支持Unicode,XML是使用不同语言和脚本的国际编码标准。 该规范使XML能够处理以任何人类语言编写的任何信息。
XML using DTD and Schema enables validation. This validation confirms that the XML document is free from any syntax error.
使用DTD和Schema的XML支持验证。 此验证确认XML文档没有任何语法错误。
XML between numerous systems makes data sharing easier because of its platform-independent essence. When there is a transaction happening between different systems, XML data doesn't need any transformation.
由于具有平台无关性,因此许多系统之间的XML使得数据共享更加容易。 当不同系统之间发生事务时,XML数据不需要任何转换。
XML的缺点 (Disadvantages of XML)
In comparison to other text-based data transmission formats such as JSON, XML syntax is garrulous and superfluous.
与其他基于文本的数据传输格式(例如JSON)相比,XML语法是毫无用处且多余的。
When the volume of data is huge, the state of being not useful in the syntax of XML causes excessive collection of storage and transportation costs.
当数据量巨大时,在XML语法中无用的状态会导致过多的存储和运输成本收集。
In comparison to other text-based data transmission formats such as JSON, an XML document is less legible.
与其他基于文本的数据传输格式(例如JSON)相比,XML文档的可读性较差。
Array doesn't support by XML.
XML不支持数组。
翻译自: https://www.includehelp.com/dictionary/xml-full-form.aspx
注解和xml形式有什么区别