Chapter 6
Namespaces
Examples
Introduction to Namespaces
Namespaces are a way to associate a group of elements with each other. They're confusing at first, but don't worry. When you stare at them long enough, they actually start to make sense. XML Schemas always use namespaces. It's important to keep in mind that namespaces don't actually do anything. It's important, so I'll say it again. Namespaces don't do anything. They have nothing to do with validity or resolving the URIs of the namespace values. It's possible that an application can see a namespace and treat the elements in that namespace differently.
An XML document can have any number of namespaces.