Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

XML Inclusions (XInclude)

Combine multiple XML documents

Contributors:  W3C

Summary:  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.

Date:  25 Apr 2007 (Published 06 Feb 2007)
Level:  Intermediate

Activity:  3905 views
Comments:  

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

Comments



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

My developerWorks community

IBM SmartCloud trial. No charge.

IBM PureSystems on a kaleideoscope background

Unleash the power of hybrid cloud computing today!