You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.1 KiB
68 lines
3.1 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Mini-XML Programmers Manual, Version 2.3</TITLE>
|
|
<META NAME="author" CONTENT="Michael R. Sweet">
|
|
<META NAME="copyright" CONTENT="Copyright 2003-2007">
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
|
<LINK REL="Start" HREF="index.html">
|
|
<LINK REL="Contents" HREF="index.html">
|
|
<LINK REL="Next" HREF="OrganizationofThisDocument.html">
|
|
<STYLE TYPE="text/css"><!--
|
|
BODY { font-family: sans-serif }
|
|
H1 { font-family: sans-serif }
|
|
H2 { font-family: sans-serif }
|
|
H3 { font-family: sans-serif }
|
|
H4 { font-family: sans-serif }
|
|
H5 { font-family: sans-serif }
|
|
H6 { font-family: sans-serif }
|
|
SUB { font-size: smaller }
|
|
SUP { font-size: smaller }
|
|
PRE { font-family: monospace }
|
|
A { text-decoration: none }
|
|
--></STYLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="index.html">Contents</A>
|
|
<A HREF="OrganizationofThisDocument.html">Next</A>
|
|
<HR NOSHADE>
|
|
<H1 align="right"><A name="INTRO"><IMG align="right" alt="0" height="100"
|
|
hspace="10" src="0.gif" width="100"></A>Introduction</H1>
|
|
<P>This programmers manual describes Mini-XML version 2.3, a small XML
|
|
parsing library that you can use to read and write XML data files in
|
|
your C and C++ applications.</P>
|
|
<P>Mini-XML was initially developed for the <A href="http://gutenprint.sf.net/">
|
|
Gutenprint</A> project to replace the rather large and unwieldy <TT>
|
|
libxml2</TT> library with something substantially smaller and
|
|
easier-to-use. It all began one morning in June of 2003 when Robert
|
|
posted the following sentence to the developer's list:</P>
|
|
<BLOCKQUOTE><EM>It's bad enough that we require libxml2, but rolling our
|
|
own XML parser is a bit more than we can handle.</EM></BLOCKQUOTE>
|
|
<P>I then replied with:</P>
|
|
<BLOCKQUOTE><EM>Given the limited scope of what you use in XML, it
|
|
should be trivial to code a mini-XML API in a few hundred lines of
|
|
code.</EM></BLOCKQUOTE>
|
|
<P>I took my own challenge and coded furiously for two days to produced
|
|
the initial public release of Mini-XML, total lines of code: 696.
|
|
Robert promptly integrated Mini-XML into Gutenprint and removed
|
|
libxml2.</P>
|
|
<P>Thanks to lots of feedback and support from various developers,
|
|
Mini-XML has evolved since then to provide a more complete XML
|
|
implementation and now stands at a whopping 3,441 lines of code,
|
|
compared to 103,893 lines of code for libxml2 version 2.6.9.</P>
|
|
<P>Aside from Gutenprint, Mini-XML is used for the following
|
|
projects/software applications:</P>
|
|
<UL>
|
|
<LI><A href="http://www.cups.org/">Common UNIX Printing System</A></LI>
|
|
<LI><A href="http://www.cups.org/ddk/">CUPS Driver Development Kit</A></LI>
|
|
<LI><A href="http://www.easysw.com/printpro/">ESP Print Pro</A></LI>
|
|
<LI><A href="http://zynaddsubfx.sourceforge.net">ZynAddSubFX</A></LI>
|
|
</UL>
|
|
<P>Please email me (mxml @ easysw . com) if you would like your project
|
|
added or removed from this list, or if you have any comments/quotes you
|
|
would like me to publish about your experiences with Mini-XML.</P>
|
|
<HR NOSHADE>
|
|
<A HREF="index.html">Contents</A>
|
|
<A HREF="OrganizationofThisDocument.html">Next</A>
|
|
</BODY>
|
|
</HTML>
|
|
|