For example, including the text file license.txt:
in an XHTML document:
gives:
The mechanism is similar to HTML's <object> tag (which is specific to the HTML markup language), but the XInclude mechanism works with any XML format, such as SVG and XHTML.
J. Marsh; D. Orchard; Daniel Veillard. "XML Inclusions (XInclude) Version 1.0 (Second Edition), Appendix C: Examples (non-normative)". World Wide Web Consortium. Retrieved 2007-06-28. http://www.w3.org/TR/xinclude/#examples ↩
Brettz9; et al. "XInclude". Mozilla Developer Network. https://developer.mozilla.org/en/docs/XInclude ↩