XML Namespaces


Definition

A collection of related element names identified by the namespace name

Why? Complex XML documents can have elements with the same name

The DTD needs to distinguish between different elements with the same name

Namespaces are 'SuperLabels' that help distinguish between elements that share the same name

DTDs lack direct support for namespaces, which is why the industry uses XSDs