XLink

From BC$ MobileTV Wiki
Jump to: navigation, search

XLink is a method for linking XML documents to external resources, and is particularly useful when combined with XPointer to link specific sections of XML documents together. It was an early method of linking XML data before RDF/XML and the Linked Data movement.


Specification


Examples

The following shows an example using the OpenRecommender format, marked up with additional XLink namespace and features:

<recommendations xmlns:xlink="http://www.w3.org/1999/xlink">
  <recommendation>
   <title>A World Without Cancer - The Story Of Vitamin B17</title>
   <image>http://bcmoney-mobiletv.com/thumb/1_1266.jpg</image>
   <link>http://bcmoney-mobiletv.com/view/1266/a-world-without-cancer-the-story-of-vitamin-b17/</link>
   <description xlink:type="simple" xlink:href="http://video.google.com/videoplay?docid=4312930190281243507&hl=en" xlink:show="new">
     G. Edward Griffin marshals the evidence that cancer is a deficiency disease - like scurvy or pellagra - aggravated by the lack of an essential food compound in modern man's diet. That substance is vitamin B17.
   </description>
  </recommendation>
  ...
</recommendations>



Tools



Resources


External Links


See Also

XML | XPath | XQuery | XSLT | XPointer | Linked Data | RDF