XPath plays a role in two other emerging XML technologies, XLink and XPointer, which bring advanced linking support to XML, and at some point to the web. You found out about the theoretical underpinnings of XML linking and what it aims to accomplish. You then learned how to create expressions in XPointer, followed by links in XLink. Although you gained some practical knowledge of XLink and XPointer, there unfortunately is very little support for either technology in major web browsers at the moment. Even so, they are compelling enough technologies that you need to keep an eye out for them potentially making an impact in the XML landscape at some point.
Q&A
Q. |
What is the relationship between XPath and XPointer? |
A. |
XPath is a simple path language that uses patterns and expressions to reference portions of an XML document tree. XPointer extends XPath by offering more specific referencing capabilities within XML documents. XPointer also serves as the basis for identifying link sources and targets in XLink, which is the standard linking technology for XML. |
Q. |
Why bother learning about XLink if it still isn't supported to any serious degree in major web browsers? |
A. |
The reason for learning about XLink has to do with the fact that it could possibly represent the future of XML document linking. The W3C spent years developing XLink with the goal of it becoming a standard technology with wide support. Admittedly, it's difficult to get excited about a technology that is somewhat intangible at the moment, but that doesn't necessarily lessen the future significance of XLink. |
Q. |
Assuming XLink is eventually adopted by web browsers, how will it affect the HTML anchor link? |
A. |
The HTML anchor link ( |