当前位置: 首页 > 网络学院 > XML相关教程 > XLink/XPointer > XLink介绍

XLink/XPointer
XLink介绍
Xlink/Xpointer 语法
XLink 实例
XPointer 实例
Xlink 摘要
XLink 参考

XLink/XPointer 中的 XLink介绍


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 607 ::
收藏到网摘: n/a

XLink defines a standard way of creating hyperlinks in XML documents.
XLink 定义了在XML文档中创建超链接的标准方式。

XPointer allows the hyperlinks to point to more specific parts (fragments) in the XML document.
XPointer 允许超链接指向XML文档中更多的细节部分(片断)。


What You Should Already Know
你需要事先掌握的知识:

Before you continue you should have a basic understanding of the following:
在你继续学习新知识之前,你需要事先掌握下面这些基本知识:

  • HTML / XHTML
  • XML / XML 命名空间
  • XPath

If you want to study these subjects first, find the tutorials on our Home page.
如果你想先学习上述知识,那么,请在我们的教程主页上查阅相关教程。


What is XLink?
什么是XLINK?

  • XLink is short for the XML Linking Language
    XLink是“XML 链接语言”的简称
  • XLink is a language for creating hyperlinks in XML documents
    XLink是用于在XML文档中创建超链接的语言
  • XLink is similar to HTML links - but it is a lot more powerful
    XLink和HTML链接非常相似——但XLink的功能更加强大
  • ANY element in an XML document can behave as an XLink
    XML文档中的ANY元素可以通过XLink的形式表现出来
  • XLink supports simple links (like HTML) and extended links (for linking multiple resources together)
    XLink支持如HTML这样的简单链接和扩展链接(主要是为了同时提供多种资源的链接)
  • With XLink, the links can be defined outside of the linked files
    通过XLink,链接可以是被定义在外部文件中
  • XLink is a W3C Recommendation
    XLink是W3C推荐使用的标准

What is XPointer?
什么是XPointer?

  • XPointer is short for the XML Pointer Language
    XPointer是“XML 指示器”的简称。
  • XPointer allows the hyperlinks to point to specific parts of the XML document
    XPointer允许超链接指向XML文档的具体部分。
  • XPointer uses XPath expressions to navigate in the XML document
    XPointer使用XPath表达式在XML文档中实行操作
  • XPointer is a W3C Recommendation
    XPointer是W3C推荐使用的标准

XLink and XPointer are W3C Recommendations
XLink 和 XPointer 是W3C推荐使用的标准

The XML Linking Language (XLink) became a W3C Recommendation 27. June 2001.
XML链接语言(XLink)在2001年6月27号成为W3C推荐使用的标准。

The XML Pointer Language (XPointer) became a W3C Recommendation 25. March 2003.
XML指示语言(XPointer)在2003年3月25号正式成为W3C推荐使用的标准。

You can read more about XML standards in our W3C tutorial.
你可以在我们W3C教程上了解更多关于XML标准的内容。


XLink and XPointer Browser Support
XLink 和 XPointer 的浏览器支持情况

The browser support for XLink and XPointer is minimal.
支持 XLink 和 XPointer 的浏览器为数不多。

There is some XLink support in Mozilla 0.98+, Netscape 6.02+, and Internet Explorer 6.0. Earlier versions of all of these browsers have no XLinks support at all!
Mozilla 0.98+、Netscape 6.02+是支持一些XLink的,但在 Internet Explorer 6.0 之前的早期浏览器版本完全不支持XLink!

评论 (0) All

登陆 | 还没注册?