English | česky | Español | Türkçe | Português | Nederlands | Français | Deutsch | По-русски | Italiano | >> 中文 << | ქართული | Magyar | PolskiZVON > Tutorials > Namespace Tutorial
>> 实例 8 << | 前页 | 后页 | 目录

然而即使使用了默认的命名空间, 特定元素依然可以显式的声明命名空间.


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