href XInclude Href Linking Mechanism

A URI reference (or an IRI reference) that specifies the location of the resource to include. (See W3C XInclude documentation http://www.w3.org/TR/xinclude/)

Usage/Remarks

This attribute is only used for the <xi:include> element; most elements in this Tag Set use the XLink href attribute (@xlink:href).
According to the W3C documentation, the href attribute is optional; the absence of this attribute is the same as specifying href='', that is, the reference is to the same document. If the href attribute is absent when parse="xml", the @xpointer attribute must be present. Fragment identifiers must not be used; their appearance is a fatal error.
OPTIONAL on element: <xi:include>
Value Meaning
Text, numbers, or special characters The URI of a resource to be included.
Restriction @href is an optional attribute; there is no default.
Tagged Sample

The URI for a file being incorporated into a book

...
<book-body>
<xi:include 
  xmlns:xi="http://www.w3.org/2001/XInclude"
  href="../BITS-samples/chocolate-samples/bits-book-part1.xml" 
  encoding="ANSI" 
  parse="xml">
 <xi:fallback/>
</xi:include>
...
</book-body>
...