debian man page for vend::parser

Query: vend::parser

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Vend::Parser(3pm)					User Contributed Perl Documentation					 Vend::Parser(3pm)

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> perl v5.14.2 2010-03-25 Vend::Parser(3pm)
Related Man Pages
xml::parser::style::tree5.18(3) - mojave
xml::parser::style::tree(3) - mojave
data::dumpxml::parser(3pm) - debian
vend::counterfile(3pm) - debian
xml::parser::style::tree(3pm) - debian
Similar Topics in the Unix Linux Community
Interchange 5.5.2 (Development branch)
Interchange 5.5.3 (Development branch)
Interchange 5.7.1 (Development branch)
Concatenate three lines into one
Parser