Xmlns, xmlns: xsi
Xmlns is the abbreviation of XML Namespaces. The Chinese name is The namespace of XML (a subset of standard General Markup Language.
Cause
For example:
The following XML document carries the information in a
http://blog.csdn.net/zhch152/article/details/8191377*********************************************************The role of the namespace, the following content is reproduced, you can look at: the problem: XML element name is not fixed, when two
xmlns attribute
The xmlns attribute can define one or more alternative namespaces in the document. This property can be placed in the start tag of any element within the document. The value of this property is similar to the URL, which defines a
The following is reproduced from:
Http://hi.baidu.com/tianhesj/blog/item/0dd9718d32be4011b21bbacc.html
Translate namespaces into namespaces. What is the role of a namespace? When we use another person's or multiple DTD files in an XML document, the
The original link: the role of the http://blog.csdn.net/zhch152/article/details/8191377 namespace, the following content is reproduced, you can see the emergence of: problem: XML element name is not fixed, A naming conflict occurs when two
The role of the namespace. The following content is reprinted. You can see the problem: the element name of XML is not fixed, when two different documents use the same name to describe two different types of elements, or use the same tag to indicate
Http://www.w3school.com.cn/xml/xml_namespaces.aspXML Namespace (xmlns) attributeThe XML namespace attribute is placed in the start tag of the element and uses the following syntax:xmlns:namespace-prefix= "NamespaceURI"When a namespace is defined in
Create a document using XmlDocument or insert a node. By default, the xmlns (namespace) feature is generated.
Assume that there is an xml document with the following structure:
Http://www.myWebSite.com/http://www.myWebSite.com/MGID_17
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.