Introduction to XLink and XPointer
XLink defines a standard way to create hyperlinks in XML documents.
XPointer lets hyperlinks point to more specific parts (fragments) of an XML document.
Prerequisites
Before starting this tutorial you should know:
- HTML / XHTML
- XML / XML namespaces
- XPath
If you want to learn these first, please visit these tutorials on our home page.Home.
What is XLink?
|
|
- XLink is short for XML Linking Language
- XLink is a language for creating hyperlinks in XML documents
- XLink is similar to HTML links - but more powerful
- Any element in an XML document can become an XLink
- XLink supports simple links as well as extended links that link multiple resources together
- With XLink, links can be defined outside the linked files
- XLink is a W3C Recommendation
What is XPointer?
|
|
- XPointer is short for XML Pointer Language
- XPointer lets hyperlinks point to more specific parts (fragments) of an XML document
- XPointer uses XPath expressions to locate things in XML documents
- XPointer is a W3C Recommendation
XLink and XPointer are W3C standards
On 27 June 2001, XLink became a W3C Recommendation.
XPointer became a W3C Recommendation on 25 March 2003.
You can read more about XML standards in ourW3C Tutorialsection.
Browser support for XLink and XPointer
Browsers support XLink and XPointer only to a minimal extent.
Mozilla 0.98+, Netscape 6.02+ and Internet Explorer 6.0 all have some degree of XLink support. Earlier browser versions do not support XLink at all.