NAME
SGML::PI - an SGML, XML, or HTML document processing instruction
SYNOPSIS
$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, ...);
DESCRIPTION
An SGML::PI contains the data in a Processing Instruction (PI).
$pi->data returns the data of the PI object.
$pi->as_string returns an empty string.
$pi->iter returns an iterator for the PI object, see Class::Visitor for details.
$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_gi($visitor[, ...]) is implemented as a synonym for accept.
children_accept and children_accept_gi do nothing.
AUTHOR
Ken MacLeod, ken@bitsko.slc.ut.us
SEE ALSO
perl(1), SGML::Grove(3), Text::EntityMap(3), SGML::Element(3), SGML::SData(3), Class::Visitor(3).