T.J. Mather

NAME

  XML::GDOME::ProcessingInstruction - Interface ProcessingInstruction implementation.

SYNOPSIS

  $str = $pi->getData();
         $pi->setData($str);
  $str = $pi->getTarget();

CLASS INHERITANCE

XML::GDOME::Node > XML::GDOME::ProcessingInstruction

METHODS

$str = $pi->getData();

Returns: the content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the %?>.

$str = $pi->getTarget();

Returns: the target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction.