O'Reilly logo

Real World XML Web Services: For VB and VB .NET Developers by Yasser Shohoud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required