Home > SOA Glossary > Default Namespace

Default Namespace

(contributed by Andre Tost and Priscilla Walmsley)

An XML element can include a declaration of a "default namespace". This means that for this element and all of its child elements, no prefix is required for the default namespace. In other words, each element that has no namespace prefix is part of the default namespace.

Note that this is different from not being part of a namespace at all. If a default namespace is declared, elements that are not part of any namespace must be explicitly prefixed.

The following example highlights the default namespace:

Default Namespace

See Also: