XLink
Jump to navigation
Jump to search
- The XML Linking Language, or XLink, is an XML markup language used for creating hyperlinks for XML documents. XLink is a W3C specification which describes methods for allowing elements to be inserted into XML documents in order to create and describe links between resources, whether internal or external to the original document. (Wikipedia, retrieved 16:25, 6 November 2006 (MET))
Current implementations
As of March 2013, the full XLinks standard does not seem to be in current Web browsers. However, a subset does work in Firefox (and did since the dark ages).
Xlink for text-centric XML rendered with CSS
- Simple Xlinks work in Firefox for XML contents. E.g.
<root xmlns:xlink="http://www.w3.org/1999/xlink">
<link xlink:href="http://jigsaw.w3.org/css-validator/check/referer"
xlink:type="simple">CSS Validator</A>
</root>
or
<a xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://edutechwiki.unige.ch/en/ECMAscript_for_XML"
xlink:show="new"
xlink:type="simple">
ECMAscript for XML</a>
However, the user may have to hold down the CTRL or the SHIFT button to make this work. Totally strange, since in the past xlinks did work - Daniel K. Schneider (talk) 18:57, 18 March 2013 (CET)
Workaround for all browsers. Include an XHTML fragment in your XML, i.e. the "a" tag roughly like this:
XLinks in SVG
- Simple Xlink support is mandatory for SVG 1.0 implementations and works with all browsers that support SVG.
Links
Standards
- XML Linking Language (XLink) Version 1.0 W3C Recommendation 27 June 2001
- XML Linking Language (XLink) Version 1.1 W3C Candidate Recommendation 28 March 2006
Tutorials
- XLink and XPointer Tutorial, a w3schools tutorial.
General
- W3C XML Pointer, XML Base and XML Linking (Overview page)
- Xlink summary from ibiblio.org
- Eve Mahler's short Xlink and XPointer overview.
Software
- ???
References
- Arciniegas, Fabio (2000). What is XLink xml.com article, HTML
- Arciniegas, Fabio (2000). XLink Reference, xml.com article, HTML
- Arciniegas, Fabio (2000). XLink: An Introductory Example, xml.com article, HTML
Clients
- XML Linking Implementations (A not necessarily complete page from W3C)