Expat is a stream-oriented XML 1.0 parser library, written in C. Expat was one of the first open source XML parsers and has been incorporated into many open source projects, including the Apache HTTP Server, Mozilla, Perl, Python and PHP.
James Clark, then serving as technical lead on the XML Working Group at the World Wide Web Consortium, released version 1.0 in 1998. Clark released two more versions, 1.1 and 1.2, before turning the project over to a group led by Clark Cooper, Fred Drake and Paul Prescod in 2000. The new group released version 1.95.0 in September, 2000. Expat is now hosted as a Sourceforge project. Versions are available for the Linux and Microsoft Windows operating systems.
To use the expat library, programs first register handler functions with expat. When expat parses an XML document it calls the registered handlers as it finds relevant tokens in the input stream (these are called events). Typically, programs register handler functions for XML element start or stop events and character events. Expat provides facilities for more sophisticated event handling such as XML Namespace declarations, processing instructions and DTD events.
Expat's parsing events are similar to the events defined in the Simple API for XML but expat is not itself a SAX-compliant parser. Projects incorporating the expat library often build SAX and DOM parsers on top of expat.
Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags).
Release 2.0.1 of the ExpatXML parser is a bugfix release resolving both code and build related issues.
XML Tools 2 is an AppleScript scripting addition that allows AppleScript applications to work with XML data; it is based on Expat.
Expat is a stream-oriented XML 1.0 parser library, written in C.
Expat was one of the first open source XML parsers and has been incorporated into many open source projects, including the Apache HTTP Server, Mozilla, Perl, Python and PHP.
Expat's parsing events are similar to the events defined in the Simple API for XML (SAX), but Expat is not a SAX-compliant parser.