[ANNOUNCEMENT] XML_Parser-1.2.0 (stable) Released.
| From: | PEAR Announce | Date: | Fri, 28 May 2004 16:37:32 +0000 |
| Subject: | [ANNOUNCEMENT] XML_Parser-1.2.0 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12772@lists.php.net to get a copy of this message | ||
The new PEAR package XML_Parser-1.2.0 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- added setHandlerObj() which allows you to have the parser separate from the handler methods
- fixed bug with setMode()
- moved the init routines for the handlers in _initHandlers()
- added new examples
- fixed test files so they do not fail because of different resource ids
XML_Parser_Simple:
- added new class XML_Parser_Simple that provides a stack for the elements so the user only needs to
implement one method to handle the tag and cdata.
Package Info
-------------
This is an XML parser based on PHPs built-in xml extension.
It supports two basic modes of operation: "func" and "event". In
"func" mode, it will look for a function named after each element (xmltag_ELEMENT for
start tags and xmltag_ELEMENT_ for end tags), and in "event" mode it uses a set of generic
callbacks.
Since version 1.2.0 there's a new XML_Parser_Simple class that makes parsing of most XML
documents easier, by automatically providing a stack for the elements.
Furthermore its now possible to split the parser from the handler object, so you do not have to
extend XML_Parser anymore in order to parse a document with it.
Related Links
-------------
Package home: http://pear.php.net/package/XML_Parser
Changelog: http://pear.php.net/package-changelog.php?package=XML_Parser
Download: http://pear.php.net/get/XML_Parser-1.2.0.tgz
Authors
-------------
Stig Bakken <stig@php.net> (developer)
Stephan Schmidt <schst@php.net> (lead)
Thomas V.V.Cox <cox@idecnet.com> (developer)