1998-04-05 11:50:55 -04:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
<HTML>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
<TITLE>expat</TITLE>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
<BODY>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
<H1>expat - XML Parser Toolkit</H1>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-11-21 22:52:47 -05:00
|
|
|
<H3>Version 19981122</H3>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
|
|
|
<P>Copyright (c) 1998 James Clark. Expat is subject to the <A
|
1998-04-05 11:50:55 -04:00
|
|
|
HREF="MPL-1_0.html">Mozilla Public License Version 1.0</A>. You may
|
1998-11-19 00:41:26 -05:00
|
|
|
as a special exception <A href="gplelect.html">elect to use the GNU
|
|
|
|
General Public License</A>. Please contact me if you wish to
|
|
|
|
negotiate an alternative license.</P>
|
|
|
|
|
|
|
|
<P>Expat is an <A
|
|
|
|
HREF="http://www.w3.org/TR/1998/REC-xml-19980210">XML 1.0</A> parser
|
|
|
|
written in C. It aims to be fully conforming. It is currently not a
|
|
|
|
validating XML processor. The current production version of expat can
|
|
|
|
be downloaded from <A href = "ftp://ftp.jclark.com/pub/xml/expat.zip"
|
1998-09-24 00:31:20 -04:00
|
|
|
>ftp://ftp.jclark.com/pub/xml/expat.zip</A>.</P>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
|
|
|
<P>The directory <SAMP>xmltok</SAMP> contains a low-level library for
|
|
|
|
tokenizing XML. The interface is documented in
|
|
|
|
<SAMP>xmltok/xmltok.h</SAMP>.</P>
|
|
|
|
|
|
|
|
<P>The directory <SAMP>xmlparse</SAMP> contains an XML parser library
|
1998-04-05 11:50:55 -04:00
|
|
|
which is built on top of the <SAMP>xmltok</SAMP> library. The
|
1998-06-21 04:22:39 -04:00
|
|
|
interface is documented in <SAMP>xmlparse/xmlparse.h</SAMP>. The
|
|
|
|
directory <SAMP>sample</SAMP> contains a simple example program using
|
|
|
|
this interface; <SAMP>sample/build.bat</SAMP> is a batch file to build
|
|
|
|
the example using Visual C++.</P>
|
|
|
|
|
|
|
|
<P>The directory <SAMP>xmlwf</SAMP> contains the <SAMP>xmlwf</SAMP>
|
1998-04-05 11:50:55 -04:00
|
|
|
application, which uses the <SAMP>xmlparse</SAMP> library. The
|
|
|
|
arguments to <SAMP>xmlwf</SAMP> are one or more files which are each
|
|
|
|
to be checked for well-formedness. An option <SAMP>-d
|
|
|
|
<VAR>dir</VAR></SAMP> can be specified; for each well-formed input
|
|
|
|
file the corresponding <A
|
|
|
|
href="http://www.jclark.com/xml/canonxml.html">canonical XML</A> will
|
|
|
|
be written to <SAMP>dir/<VAR>f</VAR></SAMP>, where
|
|
|
|
<SAMP><VAR>f</VAR></SAMP> is the filename (without any path) of the
|
1998-06-21 04:22:39 -04:00
|
|
|
input file. A <CODE>-x</CODE> option will cause references to
|
|
|
|
external general entities to be processed.</P>
|
|
|
|
|
|
|
|
<P>The <SAMP>bin</SAMP> directory contains Win32 executables. The
|
|
|
|
<SAMP>lib</SAMP> directory contains Win32 import libraries.</P>
|
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
<P></P>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
<ADDRESS>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
<A HREF="mailto:jjc@jclark.com">James Clark</A>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
</ADDRESS>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
</BODY>
|
1998-06-21 04:22:39 -04:00
|
|
|
|
1998-04-05 11:50:55 -04:00
|
|
|
</HTML>
|