XML parsing class based on PHP's bundled expat.

ok alek@
This commit is contained in:
mbalmer 2005-02-28 12:35:42 +00:00
parent 1bb302627d
commit 00092d98bf
4 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/02/28 12:35:42 mbalmer Exp $
COMMENT= "XML parsing class based on PHP's bundled expat"
DISTNAME= XML_Parser-1.2.4
PKGNAME= pear-${DISTNAME:S/_/-/}
CATEGORIES= textproc pear
MASTER_SITES= http://pear.php.net/get/
EXTRACT_SUFX= .tgz
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
MODULES= www/php5/pear
# PHP License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (XML_Parser-1.2.4.tgz) = 654ca68c93496c59822e7b63aece06d7
RMD160 (XML_Parser-1.2.4.tgz) = b149ef0ac8ac5221987facdf7bc293a6bb58dcd5
SHA1 (XML_Parser-1.2.4.tgz) = 403aa942e30cb30df5ee7c585c519f301d434e4a
SIZE (XML_Parser-1.2.4.tgz) = 10858

View File

@ -0,0 +1,14 @@
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.

View File

@ -0,0 +1,27 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/02/28 12:35:42 mbalmer Exp $
lib/
lib/php/
pear/doc/XML_Parser/
pear/doc/XML_Parser/examples/
pear/doc/XML_Parser/examples/xml_parser_file.php
pear/doc/XML_Parser/examples/xml_parser_file.xml
pear/doc/XML_Parser/examples/xml_parser_handler.php
pear/doc/XML_Parser/examples/xml_parser_simple1.php
pear/doc/XML_Parser/examples/xml_parser_simple1.xml
pear/doc/XML_Parser/examples/xml_parser_simple2.php
pear/doc/XML_Parser/examples/xml_parser_simple2.xml
pear/doc/XML_Parser/examples/xml_parser_simple_handler.php
pear/lib/.registry/xml_parser.reg
pear/lib/XML/Parser/
pear/lib/XML/Parser.php
pear/lib/XML/Parser/Simple.php
pear/tests/
pear/tests/XML_Parser/
pear/tests/XML_Parser/tests/
pear/tests/XML_Parser/tests/001.phpt
pear/tests/XML_Parser/tests/002.phpt
pear/tests/XML_Parser/tests/003.phpt
pear/tests/XML_Parser/tests/004.phpt
pear/tests/XML_Parser/tests/005.phpt
pear/tests/XML_Parser/tests/test2.xml
pear/tests/XML_Parser/tests/test3.xml