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

5. Title elements

Description

The extended-, locator- and arc-type elements may have the title attribute. But they may also have a series of one or more title-type elements.




Title as an attribute

 <zvon_home
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xlink:type="locator"
    xlink:title="Zvon">
 </zvon_home>


One title-type element

 <zvon_home
    xlink:type="locator"
    xlink:title="Zvon">
   <zvon_title
      xlink:type="title">
     Zvon
   </zvon_title>
 </zvon_home>


Multiple title-type elements
Multiple title-type elements can be useful for internationalization purposes.

 <zvon_home
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xlink:type="locator"
    xlink:title="Zvon">
   <zvon_title
      xlink:type="title"
      xml:lang="cs">
     Zvon
   </zvon_title>
   <zvon_title
      xlink:type="title"
      xml:lang="en">
     The Bell
   </zvon_title>
   <zvon_title
      xlink:type="title"
      xml:lang="de">
     Die Glocke
   </zvon_title>
 </zvon_home>