expat

# expat - XML Parser Toolkit

### Version 19980405

Copyright (c) 1998 James Clark. Expat is subject to the Mozilla Public License Version 1.0. You may not use expat except in compliance with this license. Please contact me if you wish to negotiate an alternative license.

Expat is an XML 1.0 parser written in C. It aims to be fully conforming. It is currently not a validating XML processor. Expat can be downloaded from ftp://ftp.jclark.com/pub/xml/expat.zip. This is a beta-test version.

The directory `xmltok` contains a low-level library for tokenizing XML. The interface is documented in `xmltok/xmltok.h`.

The directory `xmlparse` contains an XML parser library which is built on top of the `xmltok` library. The interface is documented in `xmlparse/xmlparse.h`.

The directory `xmlwf` contains the `xmlwf` application, which uses the `xmlparse` library. The arguments to `xmlwf` are one or more files which are each to be checked for well-formedness. An option `-d dir` can be specified; for each well-formed input file the corresponding canonical XML will be written to `dir/f`, where `f` is the filename (without any path) of the input file.