ZVON > Tutorials > XLink - Extended Links
Prev | Next | [Help]

3. Remote resources

Description

Locator element indicates remote resource.




Locator element
Locator-type element must have the attribute "href" and its value must be supplied.

 <zvon_locator
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xlink:type="locator"
    xlink:href="http://www.zvon.org/xxl/XSLTreference/Output/index.html">
 </zvon_locator>


Locator element
Locator-type element must have the extended-type element as a parent, otherwise it has no Xlink-specified meaning.

 <extendedlink
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xlink:type="extended">
   <zvon_locator
      xlink:type="locator"
      xlink:href="http://www.zvon.org/xxl/XSLTreference/Output/index.html">
   </zvon_locator>
 </extendedlink>


Error - locator element has no Xlink-specified meaning
Locator-type element must have the extended-type element as a parent, otherwise it has no Xlink-specified meaning.

 <not_extendedlink
    xmlns:xlink="http://www.w3.org/1999/xlink">
   <zvon_locator
      xlink:type="locator"
      xlink:href="http://www.zvon.org/xxl/XSLTreference/Output/index.html">
   </zvon_locator>
 </not_extendedlink>