xml中的xmlns和html的确切用法是什么? [英] what is the exact usage of xmlns in xml, and html

查看:194
本文介绍了xml中的xmlns和html的确切用法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人知道HTML,XML文件中的 xmlns 的具体用法是什么?

编辑:为什么我们需要这个名称空间?它的用法是什么?

解决方案

xmlns 属性声明一个 XML命名空间 XML中的命名空间标准深入讨论了此元素。



命名空间主要用于避免混合XML语言时元素名称之间的冲突。如果你有一个你有问题的特定应用程序,或许你可以发布一个例子。


Does any one know what is the exact usage of xmlns in HTML, XML files?

Edit: Why do we need this namespace? What is its usage?

解决方案

The xmlns attribute declares an XML Namespace. The Namespaces in XML standard discusses this element in depth.

Namespaces are used primarily to avoid conflicts between element names when mixing XML languages. If you have a particular application that you have questions about, perhaps you could post an example.

这篇关于xml中的xmlns和html的确切用法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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