XML Inclusions (XInclude)

Combine multiple XML documents

XML Inclusions (XInclude) is a system for merging XML documents, similar to built-in XML external entities, but with added features. Learn how to assemble one large document from one or more smaller ones, and even to pick and choose parts of the component documents using XPointer.

Contributors:  W3C

25 April 2007 (First published 06 February 2007)

XML Inclusions (XInclude) is a system for merging XML documents, similar to built-in XML external entities, but with added features. Learn how to assemble one large document from one or more smaller ones, and even to pick and choose parts of the component documents using XPointer.

XML Inclusions (XInclude) Version 1.0 (Second Edition) [W3C Recommendation] provides a system for merging XML documents. XInclude is often used when you wish to split XML documents into manageable chunks. You can split the documents up as you like and then use XInclude to merge the documents back together. External parsed entities, XML 1.0 constructs that allow you to load portions of the document from a separate file, can be used similarly, and some contend that XInclude is an unnecessary specification. XInclude offers some special facilities, including the ability to select portions of documents for inclusion (by referencing an XPointer).

Resources

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=193494
SummaryTitle=XML Inclusions (XInclude)
publish-date=04252007