# phpman > man > XML::DOM::ProcessingInstruction(3pm)

## NAME
    [XML::DOM::ProcessingInstruction](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3AProcessingInstruction/markdown) - An XML processing instruction in [XML::DOM](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM/markdown)

## DESCRIPTION
    [XML::DOM::ProcessingInstruction](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3AProcessingInstruction/markdown) extends [XML::DOM::Node](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3ANode/markdown).

    It represents a "processing instruction", used in XML as a way to keep processor-specific
    information in the text of the document. An example:

     <?PI processing instruction?>

    Here, "PI" is the target and "processing instruction" is the data.

  METHODS
    getTarget
        The target of this processing instruction. XML 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 ?>.

