Firefox 插件 - install.rdf - “em” 是什么意思?意思是...
中的 em
是什么意思
<em:description>...</em:description>
This is an extract from a firefox addon install.rdf
file 。我很好奇 em 部分添加了什么。我在谷歌上也找不到这个问题的解决方案。
What does the em
mean in
<em:description>...</em:description>
This is an extract from a firefox addon install.rdf
file. I am curious as to what the em
part adds to this. I could not find a solution to this on Google either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
em
是包含description
元素的 XML 命名空间。在 install.rdf 文件的顶部,您应该看到如下所示的属性:这告诉 XML 解析器前缀
em
已绑定到该 URI。这就是赋予特定description
元素含义的原因,也是 XML 文档如何能够拥有多个不冲突的description
元素(通过将每种类型的description 绑定在一起)
到不同的 URI)。em
is the XML namespace that contains thedescription
element. At the top of the install.rdf file you should see an attribute like this:This tells an XML parser that the prefix
em
is bound to that URI. It's what gives that particulardescription
element meaning, and it's how XML documents are able to have multipledescription
elements that don't conflict (by tying each type ofdescription
to a different URI).