namespace

Defines a new namespace. A namespace is identified by a name, which can be referenced by one of the resolvers.
An overview of Namespaces is given in the namespaces documentation.

A namespace mainly consists of a list of rules, each rule defining a translation between a system namespace and the defined namespace, and vice versa.

There are two main possibilities for using these rules. By default, a namespace iterates through the rules, and when it finds one that translates the given name, it returns the translated name. But the namespace can be configured to use the list as a translator chain: in this case, all rules are applied in order, the result of the first rule translation being passed to the second, and so on.

Attributes

Attribute

Description

Required

name

the namespace name

Yes

chainrules

true to indicate that namespaces rules should be chained, false otherwise