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

11. Linkbases

Description

The role of linkbases is to gather together a number of related linking elements and to make link management easier.




Linkbase format
Linkbases must be XML.


How to instruct XLink applications to access linkbase.
The instruction takes the form of an arc specification, where the arcrole attribute must have the following value:

 <zvon:doc_with_base
    xmlns:zvon="http://www.zvon.org"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xlink:type="extended">
   <doc
      xmlns:xlink="http://www.w3.org/1999/xlink"
      xlink:type="locator"
      xlink:href="mydoc.xml"
      xlink:label="label_doc">
   </doc>
   <base
      xmlns:xlink="http://www.w3.org/1999/xlink"
      xlink:type="locator"
      xlink:href="mybase.xml"
      xlink:label="label_base">
   </base>
   <loadbase
      xmlns:xlink="http://www.w3.org/1999/xlink"
      xlink:type="arc"
      xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase"
      xlink:from="label_doc"
      xlink:to="label_base">
   </loadbase>
 </zvon:doc_with_base>



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
answering service VoIP Internettelefonie DSL, SDSL, ADSL