[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#598905: ITP: libxml-tokeparser-perl -- simplified interface to XML::Parser



Package: wnpp
Severity: wishlist

Intending to package the following little perl module from CPAN:
http://search.cpan.org/~podmaster/XML-TokeParser-0.05/TokeParser.pm
License is the usual "under the same terms as Perl".

There are no outstanding RFP/ITP requests I've found, google found
one person who has packaged this and made it available on a public
server a couple years back - I've sent him mail but not heard back
as yet (would be happy to let him do it, or collaborate, whatever).

Description:

XML::TokeParser provides a procedural ("pull mode") interface to XML::Parser in much the same way that Gisle Aas' HTML::TokeParser provides a procedural interface to HTML::Parser. XML::TokeParser splits its XML input up into "tokens," each corresponding to an XML::Parser event.

A token is a bless'd reference to an array whose first element is an event-type string and whose last element is the literal text of the XML input that generated the event, with intermediate elements varying according to the event type.

Each token is an object of type XML::TokeParser::Token. Read "XML::TokeParser::Token" to learn what methods are available for inspecting the token, and retrieving data from it.



Reply to: