既然许多人似乎正在转向网吧,我想知道为什么要继续使用XML。
我赞赏挪威人民党多年来一直广泛通过。 然而,选择得很好,这似乎是继续加以利用的一个决定性原因。
难道为什么XML不能逐步脱离,而赞成JSON?
既然许多人似乎正在转向网吧,我想知道为什么要继续使用XML。
我赞赏挪威人民党多年来一直广泛通过。 然而,选择得很好,这似乎是继续加以利用的一个决定性原因。
难道为什么XML不能逐步脱离,而赞成JSON?
注:JSON (Java式标注)是一种轻重数据交换格式,XML/strong>(可检索标记语言)是一套电子编码文件的规则。
因此,XML是
某些类型的数据结构无法简单地反映。 例如,你如何将这部XML转化为JSON?
<p>This is a paragraph where <b>only some</b> of
the text is bold and some <i>is italic</i></p>
这可能是可能的,但它赢得的只是十党代表。 JSON最适合代表等级数据。 相比之下,XML相当适合代表文件。
因此,对于数据(cough<>/em>网页),XML是一种更好的方法,我认为将继续广泛使用。
XML是一种比JSON更强大的形式。 非常容易使用chem素验证XML,利用XSLT,用XPath将XML转化为不同格式。 等等。
在许多情况下,你不需要所有这种功能。 在此情况下,JSON是更好的选择,因为它能提高轻度,提供更好的可读性,并且更加精通。 但是,在很多情况下,XML是一种良好的用途。
我猜想大家不要忘记,XML不仅用于网络,你能够用XML进行广播,制作配置文件,传送数据,并做其他 st子。 因此,JSON完全不会取代XML。
The biggest reason imho would be ENTERPRISE usage of XML. Although grands such as Google adopted json, others such as Oracle, Microsoft favour XML and XML put its roots deeply where money transactions flow, that root will not be easily changed. Another thing is in the name - Java Script Object Notation To use json effectively on the client side You have to either embed it (if You embed it into HTML, there are security issues You have to address: link text), or to convert it into another format, while XML can be easily represented by todays means without a javascript.
现有的主要房舍管理事务供应商赞成将XML文件纳入其产品:rel=“nofollow noreferer”>Oracle ,MS><<>。
你用什么语言为名人? 是否有方案语言支持询问和创建SML docs,如OM/SAX、Lq至XML等? 我的猜测不是......那么,XML就仍然在场。
我认为,JSON将取代XML。 不仅贾瓦特语,而且所有大众语言都将从本土支持逊尼派。 如果是,认为XSLT/XPATH取代了JSON。 有些人将很快这样做。
I have two element action and guid. guid is a required field when action is add. but when action is del it will not appear in file. How to represent this in dtd ?
I need to add xml-content to my application configuration file. Is there a way to add it directly to the appSettings section or do I need to implement a configSection? Is it possible to add the xml ...
I have a class structure that I would like to serialize with Xstream. The root class contains a collection of other objects (of varying types). I would like to only serialize part of the objects that ...
I have a Word 2003 document saved as a XML in WordProcessingML format. It contains few placeholders which will be dynamically replaced by an appropriate content. But, the problem is that Word ...
Is it a vulnerable using CDATA element in XML documents? If so what happens if we use CDATA element in XML documents?
I have two XML files that are generated by another application I have no control over. The first is a settings file, and the second is a list of changes that should be applied to the first. Main ...
I have a org.w3c.dom.Node object. I would like to see if it has any other siblings. Here s what I have tried: Node sibling = node.getNextSibling(); if(sibling == null) return true; else ...
I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml