The functions in this section wrap the Expat library developed by James Clark <http://www.jclark.com/xml/>. This library is part of the PHP distribution, and its purpose is parsing XML documents. A stream of data is fed to the parser. As complete parts of the data are recognized, events are triggered. These parts are the tags and the data they surround. You register the events with a handler, a function you write. You may specify FALSE for the name of any handler, and those events will be ignored.
Stig Bakken added the XML extension to PHP.
The utf8_decode function takes UTF-8 text and returns ISO-8859-1 text.
The utf8_encode function returns the data argument as ...