Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Language reference > Templates > Tags > <namespace>

<namespace>

  <namespace 
      name="symbolname"
      [ preserve | compress | pack | silent ] >
    ( <import>
    | <const>
    | <var>
    | <function>  
    | <class>
    | <namespace> ) *
  </namespace>

An ``namespaceยดยด tag declares a namespace to currently enclosing scope.

Attributes:

name
Dotted name for namespace.
preserve
Content control: retain content as is
compress
Content control: compress white spaces. This is the default option.
pack
Content control: radically compress white spaces.
silent
Content control: do not print text and tags

Content control attributes are mutually exclusive, and behaviour defined here will inherit to children. Behaviour can also be modified with content control tags.

What's new | Anvil