Vend::Parser(3)

NAME
Vend::Parser - Interchange parser class

DESCRIPTION
"Vend::Parser" will tokenize a Interchange page when the $p->parse() method is called. The document to parse can be supplied in arbitrary chunks. Call $p->eof() the end of the document to flush any remaining text. The return value from parse() is a reference to the parser object.

$self->start($tag, $attr, $attrseq, $origtext)
    This method is called when a complete start tag has been recognized. The first argument is the tag name (in lower case) and the second argument is a reference to a hash that contain all attributes found within the start tag. The attribute keys are converted to lower case. Entities found in the attribute values are already expanded. The third argument is a reference to an array with the lower case attribute keys in the original order. The fourth argument is the original Interchange page.

$self->end($tag)
    This method is called when an end tag has been recognized. The argument is the lower case tag name.

$self->text($text)
    This method is called when plain text in the document is recognized. The text is passed on unmodified and might contain multiple lines. Note that for efficiency reasons entities in the text are not expanded.

COPYRIGHT
Copyright 2002-2007 Interchange Development Group Copyright 1997-2002 Red Hat, Inc. Original HTML::Parser module copyright 1996 Gisle Aas.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS
Vend::Parser - Mike Heins <mike@perusion.com> HTML::Parser - Gisle Aas <aas@sn.no>