5. Namespace declarations

namespace -> 'namespace' [ prefix_NCName '=' ] namespace_URI_string ';'

Declares a namespace and its associated prefix.

If the prefix is absent, then the declared namespace is the default namespace of elements. This default namespace applies to element names found in XPath expressions and in XML templates, but not to attribute and variable names.


namespace "http://www.w3.org/1999/xhtml";

namespace html = "http://www.w3.org/1999/xhtml";

namespace g="urn:x-mlmind:namespace:group";