导读XLink 是 XML 链接语言(XML Linking Language)的缩写,XLink 定义了一套标准的在 XML 文档中创建超级链接的方法。
XML 实例文档
请看下面的 XML 文档,"bookstore.xml",它用来呈现书籍:
<?xml version="1.0" encoding="ISO-8859-1"?>
<bookstore xmlns:xlink="
<book title="Harry Potter">
<description
xlink:type="simple"
xlink:href="http://book.com/images/HPotter.gif"
xlink:show="new">
As his fifth year at Hogwarts School of Witchcraft and
Wizardry approaches, 15-year-old Harry Potter is.......
</description>
</book>
<book title="XQuery Kick Start">
<description
xlink:type="simple"
xlink:href="http://book.com/images/XQuery.gif"
xlink:show="new">
XQuery Kick Start delivers a concise introduction
to the XQuery standard.......
</description>
</book>
</bookstore>