DESCRIPTION

XML::DOM::ProcessingInstruction extends XML::DOM::Node.

It represents a \*(L"processing instruction\*(R", used in \s-1XML\s0 as a way to keep processor-specific information in the text of the document. An example:

 <?PI processing instruction?>

Here, \*(L"\s-1PI\s0\*(R" is the target and \*(L"processing instruction\*(R" is the data.

\$1

getTarget

The target of this processing instruction. \s-1XML\s0 defines this as being the first token following the markup that begins the processing instruction.

getData and setData (data)

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