Click here to Skip to main content
15,879,613 members
Articles / Programming Languages / XML
Article

XInclude

Rate me:
Please Sign up or sign in to vote.
2.80/5 (5 votes)
30 Oct 2001 76.5K   1.9K   14   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:

XML
<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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralParsing Problem Pin
Anonymous10-Jul-02 1:05
Anonymous10-Jul-02 1:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.