| >> English << | česky | ZVON > Tutorials > XML Base Tutorial |
| Intro / Search / ZVON |
| >> Example 6 << | Prev | Next | Contents |
| Here the base URI of the "reference" element is constructed from the two xml:base attributes. |
|
1 <doc xml:base = "http://www.zvon.org/" xmlns:xlink="http://www.w3.org/1999/xlink" > 2 <p xml:base = "zz/" > <reference xlink:href = "a.xml" xlink:type = "simple" /> </p> </doc> |
| 1Base URI of element doc : | http://www.zvon.org/ |
| 2Base URI of element p : | http://www.zvon.org/zz/ |
| Link xlink:href : | http://www.zvon.org/zz/a.xml |