|
|
|
|
|
Expat (Xml)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 most major 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. External links
|
 |
|
| Copyright 2005-2009 OnPedia.com. All Rights Reserved |
|
|