XLink: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
== Current implementations ==
== Current implementations ==


While there are currently (2006) several experimental XML Linking implementations, XLinks are not or badly supported in current Web browsers.
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 Mozilla/Firefox for XML contents. E.g.
=== 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 simplementations (and work with most)
</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 52: Line 76:
* [http://www.w3.org/XML/2000/09/LinkingImplementations.html XML Linking Implementations] (A not necessarily complete page from W3C)
* [http://www.w3.org/XML/2000/09/LinkingImplementations.html XML Linking Implementations] (A not necessarily complete page from W3C)


[[Category: technologies]]
 
[[Category: XML]]
[[Category: XML]]
[[Category: Hypertext]]
[[Category:web standards]]

Latest revision as of 20:08, 18 March 2013

Draft

  • 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

Tutorials

General

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