5. Namespace declarations
| Chapter 1. Language syntax |

## 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.

Examples:

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

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

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

4. Including a script file with `include` |  | 6. Commands