SGML::PI - an SGML, XML, or HTML document processing instruction
$data = $pi->data; $pi->as_string([$context, ...]); $pi->iter; $pi->accept($visitor, ...); $pi->accept_gi($visitor, ...); $pi->children_accept($visitor, ...); $pi->children_accept_gi($visitor, ...);
An SGML::PI contains the data in a Processing Instruction (PI).
SGML::PI
$pi->data returns the data of the PI object.
$pi->data
$pi->as_string returns an empty string.
$pi->as_string
$pi->iter returns an iterator for the PI object, see Class::Visitor for details.
$pi->iter
Class::Visitor
$pi->accept($visitor[, ...]) issues a call back to $visitor->visit_SGML_PI($sdata[, ...]). See examples visitor.pl and simple-dump.pl for more information.
$pi->accept($visitor[, ...])
$visitor->visit_SGML_PI($sdata[, ...])
visitor.pl
simple-dump.pl
$pi->accept_gi($visitor[, ...]) is implemented as a synonym for accept.
$pi->accept_gi($visitor[, ...])
accept
children_accept and children_accept_gi do nothing.
children_accept
children_accept_gi
Ken MacLeod, ken@bitsko.slc.ut.us
perl(1), SGML::Grove(3), Text::EntityMap(3), SGML::Element(3), SGML::SData(3), Class::Visitor(3).
To install SGML::Grove, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SGML::Grove
CPAN shell
perl -MCPAN -e shell install SGML::Grove
For more information on module installation, please visit the detailed CPAN module installation guide.