Top Level :: XML

Package Information: XML_Parser

This package has been superseded, but is still maintained for bugs and security fixes. Use XML_Parser2 instead.
» Summary » License
XML parsing class based on PHP's bundled expat BSD License
» Current Release » Bug Summary
1.3.8 (stable) was released on 2019-04-10 by ashnazg (Changelog)
Easy Install

Not sure? Get more info.

pear install XML_Parser

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/XML_Parser


Development Roadmap
No open bugs
Report a new bug to XML_Parser
» Description
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.
» Maintainers » More Information

Packages that depend on XML_Parser

Dependencies for XML_Parser