<xi:fallback>

XInclude Fallback

To quote the XInclude Recommendation, “the <xi:fallback> element appears as a child of an <xi:include> element. It provides a mechanism for recovering from missing resources. When a resource error is encountered, the <xi:include> element is replaced with the contents of the <xi:fallback> element. If the <xi:fallback> element is empty, the <xi:include> element is removed from the result.”

Remarks

Since it is not the business of this Tag Set to specify processing, the <xi:fallback> element will default to #PCDATA, but the parameter entity %fallback-model; can be redefined in the customization of any user organization that desires a different fallback result.

Attribute

Content Model

<!ELEMENT  xi:fallback  %fallback-model;                             >

Expanded Content Model

(#PCDATA)

Description

Text, numbers, or special characters

This element may be contained in:

Example

    
<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.0"
  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>