Click here to Skip to main content
Licence 
First Posted 30 Oct 2001
Views 61,243
Downloads 1,380
Bookmarked 13 times

XInclude

By Frank Wessels | 30 Oct 2001
XML implementation using XML SAX2 API from Microsoft XML Parser
1 vote, 20.0%
1
2 votes, 40.0%
2

3
1 vote, 20.0%
4
1 vote, 20.0%
5
3.00/5 - 6 votes
μ 3.00, σa 2.88 [?]

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

About the Author

Frank Wessels



United States United States

Member


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralParsing Problem PinsussAnonymous2:05 10 Jul '02  

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

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

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120209.1 | Last Updated 31 Oct 2001
Article Copyright 2001 by Frank Wessels
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid