Click here to Skip to main content
6,597,576 members and growing! (23,868 online)
Email Password   helpLost your password?
Languages » XML » General     Intermediate

XInclude

By Frank Wessels

XML implementation using XML SAX2 API from Microsoft XML Parser
XML, VC6Win2K, Dev
Posted:30 Oct 2001
Views:54,364
Bookmarked:12 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
6 votes for this article.
Popularity: 2.33 Rating: 3.00 out of 5
1 vote, 20.0%
1
2 votes, 40.0%
2

3
1 vote, 20.0%
4
1 vote, 20.0%
5

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


Member

Location: United States United States

Other popular XML articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 1 of 1 (Total in Forum: 1) (Refresh)FirstPrevNext
GeneralParsing Problem PinsussAnonymous2:05 10 Jul '02  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 30 Oct 2001
Editor: Chris Maunder
Copyright 2001 by Frank Wessels
Everything else Copyright © CodeProject, 1999-2009
Web16 | Advertise on the Code Project