File: ProcessingInstruction.pod

package info (click to toggle)
libxml-dom-perl 1.46-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 692 kB
  • sloc: perl: 4,216; xml: 4,117; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 802 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
=head1 NAME

XML::DOM::ProcessingInstruction - An XML processing instruction in XML::DOM

=head1 DESCRIPTION

XML::DOM::ProcessingInstruction extends L<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.

=head2 METHODS

=over 4

=item getTarget

The target of this processing instruction. XML defines this
as being the first token following the markup that begins the
processing instruction.

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

=back