libexpat/expat/expat.html

81 lines
3.0 KiB
HTML
Raw Normal View History

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
2000-05-12 02:59:00 -04:00
<H3>Version 20000512</H3>
1998-06-21 04:22:39 -04:00
2000-04-20 23:58:42 -04:00
<P>Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center
Ltd. Expat is freely available with source under a very liberal <a
href="copying.txt">license</a> (the MIT license).</P>
1998-11-19 00:41:26 -05:00
1999-06-26 08:29:27 -04:00
<P>This is a test version of expat which adds support for parsing
external DTDs and parameter entities. Compiling with -DXML_DTD
enables this support. There's a new <CODE>-p</CODE> option for xmlwf
which will cause it to process external DTDs and parameter entities;
this implies the <CODE>-x</CODE> option. See the comment above
<CODE>XML_SetParamEntityParsing</CODE> in <CODE>xmlparse.h</CODE> for
the API addition that enables this.</P>
1998-11-19 00:41:26 -05:00
<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
2000-04-20 23:58:42 -04:00
be downloaded from <A href =
"http://www.ThaiOpenSource.com/dist/expat/expat.zip"
>http://www.ThaiOpenSource.com/dist/expat/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
1999-04-19 22:59:54 -04:00
external general entities to be processed. A <CODE>-s</CODE> option
will make documents that are not standalone cause an error (a document
is considered standalone if either it is intrinsically standalone
because it has no external subset and no references to parameter
entities in the internal subset or it is declared as standalone in the
XML declaration).</P>
1998-06-21 04:22:39 -04:00
<P>The <SAMP>bin</SAMP> directory contains Win32 executables. The
<SAMP>lib</SAMP> directory contains Win32 import libraries.</P>
1999-03-07 05:11:59 -05:00
<P>Answers to some frequently asked questions about expat can be found
2000-04-20 23:58:42 -04:00
in the <A
HREF="http://www.ThaiOpenSource.com/product/expat/expatfaq.html">expat
1999-03-07 05:11:59 -05:00
FAQ</A>.</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
2000-04-20 23:58:42 -04:00
<A HREF="mailto:jjc@ThaiOpenSource.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>