XLink

XLink

The XML Linking Language, or XLink, is an XML markup language used for creating hyperlinks in XML documents. XLink is a W3C specification that outlines methods of describing links between resources in XML documents, whether internal or external to the original document.

The XLink specification

XLink 1.0 remains the current version of XLink where it received W3C Recommendation status on 2001 June 27.cite news
url=http://www.w3.org/TR/xlink/
publisher=W3C
title=XML Linking Language (XLink) Version 1.0
date=June 8, 2006
] XLink 1.1 entered W3C Candidate Recommendation status on 2006 March 28.cite news
url=http://www.w3.org/TR/2006/CR-xlink11-20060328
publisher=W3C
title=XML Linking Language (XLink) Version 1.1
date=June 8, 2006
]

Linking with XLink

XLink defines a set of attributes that may be added to elements of other XML namespaces. XLink provides two kinds of hyperlinking for use in XML documents. Extended links are out–of–band hyperlinks that, in a linkbase document, can link resources over which the link editor has no control. Simple links offer similar functionality to HTML links, which are in–band links.

Simple links

A simple link is similar to those native to HTML; it simply creates a unidirectional hyperlink arc from one element to another via a URI. Example: Some Document The Some Document header.

Extended links

The XLink specification supports not only simple links but also extended links. Extended links allow multiple resources, either remote or local, to be connected by multiple arcs. Arcs are explicitly unidirectional — they only define traversal in a single direction. By grouping resources with labels and using one or more arcs, an extended link can achieve specific traversal pathways among the resources.

For example, if all resources in an extended link were given the label A, then an arc within that link which was from="A", to="A" would connect every resource to every other resource and allow traversal from any of those resources to any other of those 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 supplemental information with resources without editing those resources.

XLink also supports richer information about link types and the roles for each resource that an XLink connects.

Uses of XLink

Software support for XLink, as of 2006 June, includes the following:

Mozilla Firefox

Mozilla Firefox (1.5.0) has very limited support for simple XLinks.
* Links with an xlink:show="embed" attribute do not work.
* Links with an xlink:actuate="onLoad" attribute work if they are the only thing on the page.
* All other links open the target in the current window, when requested, irrespective of the presence of xlink:actuate or xlink:show attributes.
* In XML documents XLinks cannot be applied to elements in the XHTML namespace (Firefox 2.0)

Netscape

Netscape (7.2) has the same support for simple XLinks as Firefox, except that the xlink:show="new" attribute works correctly.

SVG applications

Hypertext links in SVG can currently be defined as XLink simple links.cite news
url=http://www.w3.org/TR/SVG11/linking.html#hyperlinking-mod
publisher=W3C
title=Scalable Vector Graphics (SVG) 1.1 Specification: Linking
date=June 8, 2006
] The W3C Working Draft of SVG 1.2 proposes using XLink extended links as well.cite news
url=http://www.w3.org/TR/2004/WD-SVG12-20041027/extendedlinks.html
publisher=W3C
title=Extended Links (SVG 1.2)
date=June 8, 2006
]

RDDL

The XML language RDDL, an extension to XHTML Basic that is used to describe XML Namespaces, uses XLink simple links.

XBRL

The Extensible Business Reporting Language (XBRL) has used XLink simple and extended links since the XBRL 2.0 specification was published in 2001. Most large XBRL taxonomies contain extensive linkbases. As of 2006, XBRL is probably the most extensive use of XLink in production systems.

References

External links

* [http://www.w3.org/TR/xlink/ W3C Recommendation]
* [http://www.xml.com/pub/a/2002/03/13/xlink.html XLink: Who Cares?]
* [http://www.w3.org/XML/2000/09/LinkingImplementations.html XML Linking Implementations (Last Updated 2000)]
* [http://www.snee.com/xml/xlink/sxlinkdemo.xml Demo of XLinks] for Mozilla browsers


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Xlink — est une spécification du W3C (appelé parfois XLL pour XLink Language). Cette technologie permet de créer des liens entre fichiers XML ou portions de fichiers XML (grâce à XPointer). Contrairement aux liens entre fichiers HTML, XLink permet de… …   Wikipédia en Français

  • XLink — est une spécification du W3C (appelé parfois XLL pour XLink Language). Cette technologie permet de créer des liens entre fichiers XML ou portions de fichiers XML (grâce à XPointer). Contrairement aux liens entre fichiers HTML, XLink permet de… …   Wikipédia en Français

  • XLink — o Lenguaje de vínculos XML es una recomendación del World Wide Web Consortium (W3C) que permite crear elementos de XML que describen relaciones cruzadas entre documentos, imágenes y archivos de Internet u otras redes. De esta forma, XLink permite …   Wikipedia Español

  • XLink — o Lenguaje de vínculos XML es una recomendación del World Wide Web Consortium (W3C) que permite crear elementos de XML que describen relaciones cruzadas entre documentos, imágenes y archivos de Internet u otras redes. De esta forma, XLink permite …   Enciclopedia Universal

  • XLink —   [Abk. für XML Linking Language, dt. »XML Verknüpfungssprache«], Mitte 2001 von der W3C herausgegebene Empfehlung, mit der die Beschreibungssprache XML um Befehle erweitert wird, die Links zwischen Dokumenten ermöglichen. Im Vergleich zu den aus …   Universal-Lexikon

  • Xlink —   [Abk. für Extended lokales Informatiknetz Karlsruhe], 1983 an der Fakultät für Informatik der Universität Karlsruhe gegründete Arbeitsgruppe, die …   Universal-Lexikon

  • Xlink — Das Wort XLink hat folgende Bedeutungen: eine attributbasierte Syntax zur Definition von Links in XML Dokumenten. XLink (Syntax) einer der ersten deutschen Internetprovider, Xlink (Internet) ein österreichischer Internet Service Provider, siehe… …   Deutsch Wikipedia

  • XLink — Das Wort XLink hat folgende Bedeutungen: eine attributbasierte Syntax zur Definition von Links in XML Dokumenten, siehe XLink (Syntax) einer der ersten deutschen Internetprovider, Xlink (Internet) ein österreichischer Internet Service Provider,… …   Deutsch Wikipedia

  • XLink — Эту статью следует викифицировать. Пожалуйста, оформите её согласно правилам оформления статей. XML Linking Language (XLink) это разработанный в консорциуме W3 язык разметки, позволяющий вставлять в …   Википедия

  • XLink (Syntax) — XLink ist eine attributbasierte Syntax zur Definition von Links in XML Dokumenten. Ein XLink kann eine Verbindung von einem Punkt A zu einem Punkt B sein (ähnlich dem aus HTML bekanntem Hyperlink Element <a>). Sie können jedoch auch… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”