Essential XML for Web Professionals by Dan Livingston Essential XML for Web Professionals by Dan Livingston
Chapter Navigation Map

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.


Prentice Hall PTR home | Essential Series home
© 2002 Prentice Hall PTR
13 12 11 10 9 8 7 6 5 4 3 2 1