>> English << | česky | Español | Türkçe | Português | Nederlands | Français | Deutsch | По-русски | Italiano | 中文 | ქართული | Magyar | PolskiZVON > Tutorials > Namespace Tutorial
>> Example 7 << | Prev | Next | Contents

Namespaces do not have to be declared explicitly with prefixes. The attribute xmlns defines the default namespace which is used for the element where it occures and for its children and descendants.


     <aaa >
          <bbb xmlns = "http://zvon.org/lowercase" >
               <ccc />
          </bbb>
          <BBB xmlns = "http://zvon.org/uppercase" >
               <CCC />
          </BBB>
          <x111 xmlns = "http://zvon.org/xnumber" >
               <x222 />
          </x111>
     </aaa>