XML - 为什么??? [英] XML - why???

查看:77
本文介绍了XML - 为什么???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是这些人的新手,我正在(从头开始)学习新职业

的网站管理。我一直在网上寻找

找出原因(英文 - 不是行话!!)xml被使用。是否让网站设计师的生活变得更简单?或者帮助发送数据?如果

那么,怎么样?并且,例如,谁会使用它以及为什么?

现在我需要我能得到的所有帮助所以我不介意如果你们都想要

炫耀到新手!

Fletch

Hi, I''m new to all this, I am studying (from scratch) for a new career
in website management. I have been looking all over the internet to
find out why (in English - not jargon!!) xml is used. Is it to make
life simpler for the site designer? Or to help with sending data? If
so, how? And, for ezxample, who would use it and why?
Now I need all the help I can get so I dont mind if you all want to
show off to the newbie!
Fletch

推荐答案

查看XML的一种方法是将其视为一种自我描述,

可用于创建例如的规范语法消息或文件

在应用程序之间交换数据。


过去,对于每个交换,不同的消息格式和

语法是同意。现在,至少语法不再是
再想一想(让我们使用XML)。使用XML Schema,你可以告诉其他人如何格式化XML消息,并告诉别人某个级别,它将包含什么(键入的数据)。


现在人们可以想,这是什么大惊小怪的?好吧,举个例子,

soap或XML RPC。使用SOAP从另一个应用程序调用服务或函数,人们不需要知道应用程序编写的是哪种语言。只要他们谈论XML ...

fletch schreef:
One way to look at XML is to see it as a kind of self describing,
canonical syntax that can be used to create e.g. messages or files to
exchange data between applications.

In the past, for each exchange different messaging formats and
syntaxes were agreed on. Now, at least the syntax is nothing to
think about anymore ("let''s use XML"). With XML Schemas one can
even tell others how an XML message will be formatted and to a
certain level, what it will contain (typed data).

Now one could think, what''s the fuss? Well, take for instance,
soap or XML RPC. Using SOAP to call a service or function from
an other application, one does not need to be aware in which
language the applications are written. As long as they talk XML...
fletch schreef:
我是这些人的新手,我正在(从头开始)学习新职业
在网站管理中。我一直在互联网上寻找原因(用英语 - 不是行话!!)xml。是否让网站设计师的生活更简单?或者帮助发送数据?如果
那么,怎么样?并且,例如,谁会使用它以及为什么?
现在我需要我能得到的所有帮助所以我不介意你们都想向新手炫耀!
Fletch
Hi, I''m new to all this, I am studying (from scratch) for a new career
in website management. I have been looking all over the internet to
find out why (in English - not jargon!!) xml is used. Is it to make
life simpler for the site designer? Or to help with sending data? If
so, how? And, for ezxample, who would use it and why?
Now I need all the help I can get so I dont mind if you all want to
show off to the newbie!
Fletch



fletch写道:
fletch wrote:
我一直在互联网上寻找原因(英文 - 不是行话!)使用xml。
I have been looking all over the internet to
find out why (in English - not jargon!!) xml is used.



http://www.w3.org/TR/2004/REC-xml-20...c-origin-goals


-

David Dorward< http://blog.dorward.me.uk/> < http://dorward.me.uk/>

Home是〜/ .bashrc的地方



http://www.w3.org/TR/2004/REC-xml-20...c-origin-goals

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Hans Oesterholt-Dijkema < HD **** @ gawab.com>写道:
Hans Oesterholt-Dijkema <hd****@gawab.com> writes:
现在,至少语法不再需要考虑(让我们使用XML)。
Now, at least the syntax is nothing to
think about anymore ("let''s use XML").




但是,然后,语法会让人再想一想:这个

应该由属性还是子元素表示?


然后,可能是当XML的问题变得太明显时,很明显:毕竟,也许我们应该使用其他一些语法?

例如,IIRC ,对于RSS feed或RDF,现在考虑使用其他语法





But, then, the syntax will make one think again: "Should this
be represented by an attribute or a child element?"

And then later, possibly when problems with XML become too
obvious: "After all, maybe we should use some other syntax?"
For example, IIRC, for RSS feeds or RDF other syntaxes are
considered now.


这篇关于XML - 为什么???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆