XML 标签、属性及其定义? [英] XML Tags, Properties and Their Definitions?

查看:47
本文介绍了XML 标签、属性及其定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这可能听起来像一个菜鸟问题,但我已经查看并谷歌"了我所知道的谷歌",但我仍然找不到任何东西.

I know this probably sounds like a rookie question, but I've looked and "Googled" all I know to "Google" and I still can't find anything.

我正在寻找一个只有所有 XML 标签列表、它们的属性以及这些属性的定义(也就是 - 它们影响/做什么)的地方.

I'm looking for somewhere that has just a list of all XML tags, with their properties, and the definitions of those properties (aka - what they affect/do).

我认为 MSDN、W3C 甚至 SO 上的这里都会有这个,但我在任何一个地方以及其他各种地方都找不到它.也可能是我在这些网站上找错了位置,或者只是没有以能够提供我想要的东西的方式在谷歌上搜索一些东西,但我已经做了我知道该做的所有事情.

I figured MSDN, W3C, or even here on SO would have this somewhere, but I couldn't find it in either place, as well as various others. And it may be that I'm looking in the wrong spot on these sites or just not Googling something in the way that would give me what I'm looking for, but I've done all that I know to do.

所以我想知道是否有人有任何他们知道的链接,这些链接列出了 XML 标签及其子属性/各自的定义?

So I was wondering if anyone had any links that they knew of that gave a listing of XML tags and their sub-properties/respective definitions?

更具体地说,我得到了一些关于这个问题的示例 XML以前,它的长短是这样的:我正在尝试在 TFS 2010 的自动构建中集成一些代码度量软件,而且我真的很接近这样做——这只是合并正确的 XML 的问题指向这个代码度量软件.但是通过这整个过程,我了解到我不知道许多 XML 标记/属性实际上在做什么.其中一些是不言自明的,但另一些则不然.

More specifically, I was given some example XML on this question that I asked previously, and the long and short of it is this: I'm trying to integrate some code metrics software in an automated build in TFS 2010, and I'm really close to doing so--it's just a matter of incorporating the right XML to point to this code metrics software. But through this whole process I've learned that I have no clue what many of the XML tags/properties are actually doing. Some of them are self-explanatory, but others not so much.

所以,再次,我要问的是是否有人可以将我指向一个(一些)站点,其中包含 XML 标签列表、它们的属性以及标签/属性实际上在做什么?

And so, again, what I'm asking is if anyone could point me to a(some) site(s) that have a list of XML tags, their properties, and what the tags/properties are actually doing?

再说一次,我知道这听起来像一个新手问题——因为它是.我是一个非常缺乏经验的程序员,我承认这一点.我只是在继续了解更多信息时寻求一些帮助.我只是要求您不要仅仅因为它是一个更简单/较低级别的问题就删除或忽略它.我已经做了我知道的所有事情,我需要帮助,这就是本网站的用途.

Again, I know this sounds like a rookie question--because it is. I'm a very inexperienced programmer, and I'll admit that. And I'm just looking for some help as I continue to learn more. I just ask that you don't just delete this or disregard this just because it's a more simple/lower-level question. I've done all I know to do and I need help, and that's what this site is for.

推荐答案

没有所有 XML 标签的权威来源.

There is no authoritative source of all XML tags.

XML 表示可扩展标记语言.这是一种注释文本的方式,以便机器可以共享信息.

XML means Extensible Markup Language. It is a way of annotating text so that machines can share information.

有许多(数千?数百万?)模式,每个模式描述不同的词汇.

There are many (thousands? millions?) of schemas, each of which describes a different vocabulary.

您只能讨论给定词汇表的允许元素(标签)和属性(属性)集.例如,Visual Studio 将其大部分配置和项目信息存储在 XML 文件中,但每种类型具有不同的架构,因此具有不同的标记集.

You can talk about the set of allowed elements (tags) and attributes (properties) for a given vocabulary only. For example, Visual Studio stores much of its configuration and project information in XML files, but each type has a different schema, so therefore a different set of tags.

通常除了架构之外,还有一些文档解释了各种元素的用法及其属性.

Often in addition to the schema, there is some sort of documentation which explains the usage of the various elements and their attributes.

XML 可用于多种用途;有些包括编程语言(例如 XSLT)、配置文件、文档(Word、Excel 和 Powerpoint 文件)现在都是压缩到包中的 XML 文件)和日志文件.

XML can be used for many purposes; some include programming languages (e.g. XSLT), configuration files, documents (Word, Excel, and Powerpoint files now are all XML files zipped into packages) and log files.

这篇关于XML 标签、属性及其定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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