0

Possible Duplicate:
What are XML namespaces for?

xmlns attribute of the xml element!

Community
  • 1
  • 1
Liu
  • 605
  • 1
  • 7
  • 16

1 Answers1

0

Just like the .NET namespaces, it is designed to allow you to clearly identify objects and avoid name conflicts.

E.g. you can have a Person in the http://mycompany.com/schemas/Internal XML namespace, and also another type Person in http://mycompany.com/schemas/ERP - and those two will not conflict on their name.

See this great article here The XML Files - Understanding XML Namespaces which explains it in much greater detail and much better than I do.

marc_s
  • 675,133
  • 158
  • 1,253
  • 1,388