We often encounter a webpage like <HTML xmlns = "http://www.w3.org/2001/xhtml">Code,
Or you can see in the main. XML in Android encoding, as shown in <linearlayout xmlns: Android = "http://schemas.android.com/apk/res/android"
What does xmlns mean?
Official concept:Xmlns is the abbreviation of XML namespace, that is, XML namespace. The xmlns attribute can be used to define one or more available namespaces in the document. This attribute can be placed in the start tag of any element in the document. The value of this attribute is similar to a URL, which defines a namespace. the browser will use this namespace for all content in the element where the property is located.
The network address used to identify the namespace is not called by the XML parser. The XML parser does not need to find information from this network address, the network address is used only to give the namespace a unique name, so the network address can also be virtual.