- XInclude
XInclude is a generic mechanism for merging
XML documents, by writing inclusion tags in the "main" document to automatically include other documents or parts thereof [cite web
url=http://www.w3.org/TR/xinclude/#examples
title=C Examples (Non-Normative) XML Inclusions (XInclude) Version 1.0 (Second Edition)
author=J. Marsh,Microsoft , D. Orchard,BEA Systems , Daniel Veillard
publisher=World Wide Web Consortium
accessdate=2007-06-28] . The resulting document becomes a single compositeXML Information Set . For example, including the text filelicense.txt
:This document is published under GNU Free Documentation License
in an
XHTML document:gives:
The mechanism is similar to
HTML 's<object>
tag (which is specific to the HTMLmarkup language ), but the XInclude mechanism works with any XML format, such asSVG andXHTML .Browser Support
*
Internet Explorer Version 7.0 Fact|date=August 2008
*Mozilla Firefox As of version 2.0, it's not supported yet. [ [http://wiki.mozilla.org/Firefox/Feature_Brainstorming:Web_Standards_Support Firefox/Feature] ] [ [https://bugzilla.mozilla.org/show_bug.cgi?id=201754 Bug 201754 – XML Inclusions (XInclude)] ]References
ee also
*
XPath External links
* [http://www.w3.org/TR/xinclude/ XInclude Standard]
* [http://www.xml.com/pub/a/2007/03/28/xinclude-processing-in-xslt-with-xipr.html XInclude with XSLT]
Wikimedia Foundation. 2010.