Package Info

php-pear-XML_Parser


XML parsing class based on PHP's bundled expat


Development/Libraries/Other

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.


License: BSD-2-Clause
URL: https://pear.php.net/package/XML_Parser

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.3.8-bp155.2.9 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • php-pear-XML_Parser
1.3.8-bp154.1.23 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • php-pear-XML_Parser
1.3.8-bp153.1.12 info GA Release 2021-02-26 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • php-pear-XML_Parser
1.3.8-bp152.1.16 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • php-pear-XML_Parser