T.J. Mather > XML-GDOME-0.86 > XML::GDOME::ProcessingInstruction

Download:
XML-GDOME-0.86.tar.gz

Annotate this POD

CPAN RT

New  6
Open  0
View/Report Bugs
Source  

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.

syntax highlighting: