The xlink:type Attribute
The xlink:type attribute defines the type of XLink you're creating. You can set this attribute to these values:
simple— Creates a simple link.
extended— Creates an extended link.
locator— Creates a locator link that points to a resource.
arc— Creates an arc with multiple resources and various traversal paths. This attribute sets restrictions on paths where a link goes.
resource— Creates a resource link, which indicates a specific resource.
title— Creates a title link. Such elements are useful, for example, when human-readable label information needs further element markup or when multiple titles are necessary for internationalization purposes.
We've already seen how to create simple links:
<MOVIE_REVIEW xmlns:xlink = "http://www.w3.org/1999/xlink" ...
Get Real World XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.