>> English << | česky | Español | Türkçe | Português | Nederlands | Français | Deutsch | По-русски | Italiano | 中文 | ქართული | Magyar | Polski | ZVON > Tutorials > Namespace Tutorial |
Intro / Search / ZVON |
>> Example 2 << | Prev | Next | Contents |
For the namespace declarations reserved attributes starting with xmlns are used. You can declare a namespace on each element you are using, but this approach is tiring and the resulting code is hard to read. |
<lower:aaa xmlns:lower = "http://zvon.org/lowercase" > <lower:bbb xmlns:lower = "http://zvon.org/lowercase" > <lower:ccc xmlns:lower = "http://zvon.org/lowercase" /> </lower:bbb> <upper:BBB xmlns:upper = "http://zvon.org/uppercase" > <upper:CCC xmlns:upper = "http://zvon.org/uppercase" /> </upper:BBB> <xnumber:x111 xmlns:xnumber = "http://zvon.org/xnumber" > <xnumber:x222 xmlns:xnumber = "http://zvon.org/xnumber" /> </xnumber:x111> </lower:aaa> |