XML::DOM::ProcessingInstruction(3pm)

XML::DOM::ProcessingInstruction3pm

An xml processing instruction in xml::dom

Overview

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

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 ?>.

Releases

12 releases since Debian 3.0 (Woody); the text changed 5 times.

  1. 3.0
  2. 3.1–4.0
  3. 5.0–8
  4. 9–10
  5. 11
  6. 12–13

From libxml-dom-perl 1.46-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.