A single XML document may contain multiple out-of-line extended links. However, the current XLink specification is relatively silent on exactly what the format of such a compound document should look like. About all it says is that such a document must be a well-formed XML document. An XLink processor would presumably read the entire document an extract any extended links that indicate connections to or from the current document.
A browser or other application that's reading the individual pages needs to be informed that there is a separate linkbase elsewhere that it should read and parse so that it can show the links to the user.
Ideally it would be handled through some external mechanism such as HTTP headers.
The only currently defined way to do this
is to add an arc element inside the documents the out-of-line
link connects. This arc has an
xlink:arcrole attribute with the value
xlink:to attribute points to the linkbase.
<METADATA xlink:type="xlink:extended" xmlns:xlink="http://www.w3.org/1999/xlink"> <LINKBASE xlink:type="arc" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:to="courselinks"/> <RESOURCE xlink:type="locator" href="courselinks.xml" xlink:label="courselinks"/> </METADATA>