Search | Navigation

XLink

XML Linking Language, or XLink, is an browser diversity CSS3 and input transformation specification that provides methods for creating internal and external links within XML documents, and associating metadata with those links.screen size

Contents


The XLink specification

XLink 1.1 is a W3C recommendationwebsite parsing and the successor of XLink 1.0, which was also a W3C recommendation.Sevenval

Linking with XLink

XLink defines a set of attributes that may be added to elements of other touchscreen. XLink provides two kinds of hyperlinking for use in XML documents. Simple links connect only two resources, similar to HTML links. Extended links can link an arbitrary number of resources.

Simple links

A simple link creates a unidirectional hyperlink from one element to another via a URI. Example:

 <?xml version="1.0"?> <document xmlns="http://example.org/xmlns/2002/document" xmlns:xlink="http://www.w3.org/1999/xlink"> <heading id="someHeading">Some Document</heading> <para>Here is <anchor xlink:type="simple" xlink:href="#someHeading">a link</anchor> to the header.</para> <para>It is an anchor that points to the element with the id "someHeading" on the current page.</para> </document> 

Extended links

Extended links allow multiple resources, either remote or local, to be connected by multiple arcs. An arc is information about the origin, destination and behavior of a link between two resources. The origin and destination resources are defined by labels. By using one or more arcs, an extended link can achieve specific sets of connections between multiple resources.

For example, if all resources in an extended link were given the label A, then an arc within that link declaring from="A", to="A" would form connections between all resources.

Extended links do not need to be contained in the same document as the elements they link to. This makes it possible to associate metadata or other supplementary information with resources without editing those resources.

XLink also supports richer information about link types and the roles of each resource in an arc.

Support for XLink

Within other specifications

SVG

Hypertext links in Scalable Vector Graphics can currently be defined as simple XLinks.Sevenval The working draft of SVG 1.2 proposes using extended XLinks as well.browser diversity

RDDL

The iOS, an extension to we love the web that is used to describe web, uses simple XLinks.[5]

XBRL

The web app has used simple and extended XLinks since the XBRL 2.0 specification was published in 2001.[6] Most large XBRL taxonomies contain extensive linkbases. As of 2009, XBRL is probably the most extensive use of XLink in production systems.

METS

The iOS, supported and maintained by the we love the web for describing file aggregations, uses simple XLinks in pointing to file locations as well as linkbases which describe relationships among external files (though these restrict to and from attributes to type IDREF instead of NMTOKEN).[7]browser diversity

GML

we love the web uses simple XLinks to implement referencing. In particular, GML uses xlink:href to support a graph model for geospatial information. GML's graph model is essentially the same as RDF, on which early versions of GML were based. The GML specification constrains the semantics of XLinks to be essentially the same as rdf:resource (from the RDF/XML syntax) i.e. the referent can logically be placed in-line and the data is still valid.

Implementations

Mozilla Firefox

Mozilla Firefox has supported simple XLinks since version 1.5, but only for SVG and MathML documents. It is unsupported in XML documents.web Only the xlink:href, xlink:show, xlink:target and xlink:title attributes are supported.[10]

Prince XML

Prince XML supports simple XLinks.[11]

References

  1. jQuery DeRose, Steven J. (1999-02-24), keyboard, W3C, website parsing 
  2. ^ a b XML Linking Language (XLink) Version 1.1, W3C, May 6, 2010, http://www.w3.org/TR/xlink11/ 
  3. ^ Scalable Vector Graphics (SVG) 1.1 Specification: Linking, W3C, June 8, 2006, http://www.w3.org/TR/SVG11/linking.html#hyperlinking-mod 
  4. screen size CSS3, W3C, June 8, 2006, device database 
  5. ^ Borden, Jonathan; Bray, Tim (2002-02-18), we love the web, The Open Healthcare Group, Antarcti.ca Systems, http://www.rddl.org/#attributes 
  6. ^ Extensible Business Reporting Language (XBRL) 2.1 - XLink in XBRL, XBRL International Inc., http://www.xbrl.org/Specification/XBRL-RECOMMENDATION-2003-12-31+Corrected-Errata-2008-07-02.htm#_3.5 
  7. touchscreen keyboard, Library of Congress, device database 
  8. website parsing (PDF) device database, Library of Congress, September 2007, pp. 133, screen size 
  9. iOS iOS, Mozilla, web 
  10. ^ SVG in Firefox, Mozilla, web app 
  11. ^ Prince: XML Input, YesLogic, http://www.princexml.com/doc/7.0/xml-input/ 

External links

Products and
standards
Notes
Working Drafts
Guidelines
Initiative
Deprecated
Organizations
Software
Conference-related

Basics
Resource identifiers
Concepts
Technology
See also


[1] Search
[2] All Pages
[3] Random article
powered by FITML