2.5. XSD and XML Namespaces

2.5.1. A Quick Introduction to XML Namespaces

As simple as XML namespaces are, they are so pervasive in Web services technologies that they warrant an explanation.

The purpose of XML namespaces is to prevent naming collisions in element and attribute names. An XML namespace is identified by a unique string that is used as a prefix to element and attribute names. [2]

[2] Do not confuse XML namespaces and .NET namespaces. They are similar in that both are used to prevent name collisions, but they come from different worlds and work differently.

For example, if you are building a project management application, you might use a <schedule> element to represent the project's schedule. An accounting application might also ...

Get Real World XML Web Services: For VB and VB .NET Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.