Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

XInclude

0.00/5 (No votes)
30 Oct 2001 1  
XML <xinclude> implementation using XML SAX2 API from Microsoft XML Parser

Introduction

XInclude.exe is a command line program for processing XML <xinclude> elements according to the latest XInclude draft specification (dated May 16, 2001). Here is an example of a part of an XML document:

<section xmlns:xinclude="http://www.w3.org/2001/XInclude">
  <xinclude:include href="part1.xml"/>
</section>

When you run XInclude.exe on this document it simply replaces the <xinclude:include> element with the contents of the XML document part1.xml. As such it works exactly like the #include statement in C/C++.

Features

  • Low memory overhead through use of the XML SAX2 API
  • Indents inserted documents according to the indentation level of the parent document
  • Supports both parse="xml" and parse="text" methods
  • Supports nested includes

System Requirements

  • Requires Microsoft XML Parser (tested against the 3.0 Release)
  • Tested on Windows 2000 Professional

For more information see http://xinclude.net

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here