DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XML::GDOME::ProcessingInstruction



NAME

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


SYNOPSIS

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


CLASS INHERITANCE

the XML::GDOME::Node manpage > 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.