XLink: Difference between revisions
Jump to navigation
Jump to search
m (→Clients) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
== Current implementations == | == 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). | |||
* Simple Xlinks work in | === Xlink for text-centric XML rendered with CSS === | ||
* Simple Xlinks work in Firefox for XML contents. E.g. | |||
<source lang="XML"> | |||
<root xmlns:xlink="http://www.w3.org/1999/xlink"> | <root xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<link xlink:href="http://jigsaw.w3.org/css-validator/check/referer" | <link xlink:href="http://jigsaw.w3.org/css-validator/check/referer" | ||
xlink:type="simple">CSS Validator</A> | xlink:type="simple">CSS Validator</A> | ||
</root> | </root> | ||
* Simple Xlink support is mandatory for SVG 1.0 | </source> | ||
or | |||
<source lang="XML"> | |||
<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> | |||
</source> | |||
'''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 - [[User:Daniel K. Schneider|Daniel K. Schneider]] ([[User talk:Daniel K. Schneider|talk]]) 18:57, 18 March 2013 (CET) | |||
* Example file: http://tecfa.unige.ch/guides/xml/examples/recit/story-grammar.xml | |||
Workaround for all browsers. Include an XHTML fragment in your XML, i.e. the "a" tag roughly like this: | |||
* Example file: http://tecfa.unige.ch/guides/xml/examples/recit/story-grammar-con-xhtml.xml | |||
=== XLinks in SVG === | |||
* Simple Xlink support is mandatory for SVG 1.0 implementations and works with all browsers that support SVG. | |||
== Links == | == Links == | ||
Line 55: | Line 79: | ||
[[Category: XML]] | [[Category: XML]] | ||
[[Category: Hypertext]] | [[Category: Hypertext]] | ||
[[Category:web standards]] |
Latest revision as of 20:08, 18 March 2013
- 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)