◇◆
<xi:include> XInclude
Adds the XInclude mechanism to the BITS Tag Set, so that books and book parts can
be managed as separate files and “included” as needed into a final document.
Usage/Remarks
For detains concerning the use of XInclude, see http://www.w3.org/TR/xinclude/
The optional <xi:fallback> child can be used to specify alternative content when the resource to be included
was not found.
Attributes
Namespaces
xmlns:xi (fixed value = http://www.w3.org/2001/XInclude)
Models and Context
May be contained in
Description
<xi:fallback> XInclude Fallback, zero or one
Content Model
<!ELEMENT xi:include %include-model; >
Expanded Content Model
(xi:fallback?)
Tagged Sample
XInclude links for individual files comprising a book, such as its various chapters
<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.1" xml:lang="en"> <book-meta>...</book-meta> <!-- ===== Front Matter (Narrative Content) ===== --> <front-matter> <!-- Dedication --> <xi:include href="bits-book-part4.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> ... </front-matter> <!-- =============== Body Matter (Content) =========== --> <book-body> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bits-book-part1.xml"> <xi:fallback/> </xi:include> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bits-book-part2.xml"></xi:include> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bits-book-part3.xml"></xi:include> </book-body> <!-- =============== Back Matter (Ancillary) ======= --> <book-back> <ack>...</ack> ... </book-back> </book>